Merge pull request #3374 from blocktrron/upstream-main-updates #1238
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
--- | |
name: Check patches | |
on: | |
push: | |
paths: | |
- 'modules' | |
- 'patches/**' | |
- '.github/workflows/check-patches.yml' | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: | |
- 'modules' | |
- 'patches/**' | |
- '.github/workflows/check-patches.yml' | |
permissions: | |
contents: read | |
jobs: | |
check-patches: | |
name: Check patches | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 | |