From ac4d6625dd614f571ca304e3cd69b034c4848c87 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Tue, 20 Oct 2020 03:44:35 +0200 Subject: [PATCH] github: add workflow for checking patch status Add a workflow to verify all patches to OpenWrt and the packages feeds are refreshed. If they are not, the workflow fails. --- .github/workflows/check-patches.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/check-patches.yml diff --git a/.github/workflows/check-patches.yml b/.github/workflows/check-patches.yml new file mode 100644 index 00000000..ecdaf0d7 --- /dev/null +++ b/.github/workflows/check-patches.yml @@ -0,0 +1,18 @@ +name: Check patches +on: + push: + pull_request: + types: [opened, synchronize, reopened] +jobs: + check-patches: + name: Check patches + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Refresh patches + run: make refresh-patches GLUON_SITEDIR="contrib/ci/minimal-site" + - name: Show diff + run: git status; git diff + - name: Patch status + run: git diff-files --quiet +