Skip to content

Commit

Permalink
switched action since has-changes is dead
Browse files Browse the repository at this point in the history
  • Loading branch information
garethahealy committed Nov 20, 2023
1 parent 6beee9c commit ff4b7fc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ jobs:

- name: Check if there are changes to POLICIES.md
id: changes
uses: UnicornGlobal/[email protected]
with:
pathspec: POLICIES.md
run: echo "changed=$(git status --porcelain POLICIES.md | wc -l)" >> $GITHUB_OUTPUT

- name: Fail if POLICIES.md changes found
if: steps.changes.outputs.changed == 1
if: steps.changes.outputs.changed >= 1
run: |
echo "Uncommited changes to POLICIES.md exist. Failing."
exit 1
Expand Down

0 comments on commit ff4b7fc

Please sign in to comment.