-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switched action since has-changes is dead
- Loading branch information
1 parent
6beee9c
commit ff4b7fc
Showing
1 changed file
with
2 additions
and
4 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 |
---|---|---|
|
@@ -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 | ||
|