mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
add github actions from gentoo/kde
I saw this land and thought it might be neat. I have no idea if it will work for us but I'm interesting in trying.
This commit is contained in:
parent
270be6c4df
commit
1c0f9a7620
3 changed files with 32 additions and 0 deletions
2
.github/workflows/README
vendored
Normal file
2
.github/workflows/README
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
This work was taken from https://github.com/gentoo/kde/tree/master/.github/workflows
|
||||
Original work from Alfred Wingate https://github.com/parona-source
|
||||
13
.github/workflows/pkgcheck.yaml
vendored
Normal file
13
.github/workflows/pkgcheck.yaml
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
name: pkgcheck
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Run pkgcheck
|
||||
uses: pkgcore/pkgcheck-action@v1
|
||||
17
.github/workflows/pkgcheck_merge.yaml
vendored
Normal file
17
.github/workflows/pkgcheck_merge.yaml
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
name: pkgcheck_merge
|
||||
on:
|
||||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- name: Run pkgcheck
|
||||
uses: pkgcore/pkgcheck-action@v1
|
||||
with:
|
||||
args: --exit warning --commits HEAD^..${{ github.sha }}
|
||||
Loading…
Reference in a new issue