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:
Rick Farina (Zero_Chaos) 2023-12-19 09:19:07 -05:00
parent 270be6c4df
commit 1c0f9a7620
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
3 changed files with 32 additions and 0 deletions

2
.github/workflows/README vendored Normal file
View 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
View 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
View 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 }}