aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Wingate <parona@protonmail.com>2023-12-18 16:54:15 +0200
committerSam James <sam@gentoo.org>2023-12-18 23:48:42 +0000
commit3dcf3e524adc240b369a1abe2bf24b9664c49f71 (patch)
treef132854b23d667aa231988c5db4204f08c4d1326 /.github/workflows
parentkde-plasma/libplasma: Switch to plasma.kde.org.eclass (diff)
downloadkde-3dcf3e524adc240b369a1abe2bf24b9664c49f71.tar.gz
kde-3dcf3e524adc240b369a1abe2bf24b9664c49f71.tar.bz2
kde-3dcf3e524adc240b369a1abe2bf24b9664c49f71.zip
.github/workflows: add pkgcheck actions
Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/kde/pull/962 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/pkgcheck.yaml13
-rw-r--r--.github/workflows/pkgcheck_merge.yaml17
2 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/pkgcheck.yaml b/.github/workflows/pkgcheck.yaml
new file mode 100644
index 0000000000..433273bc72
--- /dev/null
+++ b/.github/workflows/pkgcheck.yaml
@@ -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
diff --git a/.github/workflows/pkgcheck_merge.yaml b/.github/workflows/pkgcheck_merge.yaml
new file mode 100644
index 0000000000..651883127f
--- /dev/null
+++ b/.github/workflows/pkgcheck_merge.yaml
@@ -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 }}