commit:     3dcf3e524adc240b369a1abe2bf24b9664c49f71
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Mon Dec 18 14:54:15 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 23:48:42 2023 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=3dcf3e52

.github/workflows: add pkgcheck actions

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/kde/pull/962
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .github/workflows/pkgcheck.yaml       | 13 +++++++++++++
 .github/workflows/pkgcheck_merge.yaml | 17 +++++++++++++++++
 2 files changed, 30 insertions(+)

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 }}

Reply via email to