forked from freifunkh/site
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflows: add site-check-patches action
- Loading branch information
1 parent
52bbda7
commit be365b0
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: Site check patches | ||
on: | ||
push: | ||
paths: | ||
- 'patches/**' | ||
- '.github/workflows/site-check-patches.yml' | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
paths: | ||
- 'patches/**' | ||
- '.github/workflows/site-check-patches.yml' | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
site-check-patches: | ||
name: site check patches | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone site repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Run refresh_ffh_patches.sh | ||
working-directory: ./ | ||
run: ./refresh_ffh_patches.sh | ||
|
||
# The following should match the last steps from gluons check-patches.yml | ||
|
||
- name: Show diff | ||
run: git status; git diff | ||
|
||
- name: Patch status | ||
run: git diff-files --quiet |