diff --git a/.github/workflows/site-check-patches.yml b/.github/workflows/site-check-patches.yml new file mode 100644 index 0000000..1dfdbf7 --- /dev/null +++ b/.github/workflows/site-check-patches.yml @@ -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