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.
This commit is contained in:
David Bauer 2020-10-20 03:44:35 +02:00
parent 53f5b8098c
commit ac4d6625dd

18
.github/workflows/check-patches.yml vendored Normal file
View File

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