-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent forks PR from failing due to messages not working (#112)
- Loading branch information
1 parent
be3efb7
commit 0c4337f
Showing
1 changed file
with
3 additions
and
3 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 |
---|---|---|
|
@@ -32,12 +32,11 @@ jobs: | |
for file in ${ALL_CHANGED_FILES}; do | ||
echo "$file was changed" | ||
done | ||
echo "msg=Version bump not required." >> $GITHUB_OUTPUT | ||
- name: auto_pass | ||
if: steps.changed-files.outputs.all_modified_files_count == '0' | ||
id: check_if_only_ignored | ||
run: | | ||
echo "msg=Version bump not required." >> $GITHUB_OUTPUT | ||
exit 0 | ||
- name: Get version from file | ||
|
@@ -69,6 +68,7 @@ jobs: | |
fi | ||
- uses: mshick/[email protected] | ||
if: always() | ||
continue-on-error: true # Currently this resource doesn't work as is with forks | ||
with: | ||
message: | | ||
${{ steps.list_changed_files.outputs.msg || steps.check_vbump.outputs.msg }} | ||
${{ steps.check_if_only_ignored.outputs.msg || steps.check_vbump.outputs.msg }} |