gluon/.github/workflows/check-patches.yml
David Bauer ac4d6625dd 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.
2020-10-20 20:03:17 +02:00

19 lines
436 B
YAML

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