Skip to content

Commit ac4d662

Browse files
committed
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.
1 parent 53f5b80 commit ac4d662

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/check-patches.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Check patches
2+
on:
3+
push:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
jobs:
7+
check-patches:
8+
name: Check patches
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Refresh patches
13+
run: make refresh-patches GLUON_SITEDIR="contrib/ci/minimal-site"
14+
- name: Show diff
15+
run: git status; git diff
16+
- name: Patch status
17+
run: git diff-files --quiet
18+

0 commit comments

Comments
 (0)