Skip to content

Commit

Permalink
workflows: add site-check-patches action
Browse files Browse the repository at this point in the history
  • Loading branch information
AiyionPrime committed Apr 27, 2023
1 parent 52bbda7 commit be365b0
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/site-check-patches.yml
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

0 comments on commit be365b0

Please sign in to comment.