File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,13 @@ jobs:
4949 id : update-readme
5050 run : |
5151 node update-readme.js parsed-badges.json
52+ echo "::set-output name=changes-found::true"
5253 echo "::notice::Checked and updated README if changes were found."
54+ continue-on-error : true
5355
5456 # Step 6: Commit changes and create a new branch
5557 - name : Commit changes and create a new branch
56- if : ${{ steps.update-readme.outputs.changes_found == 'true ' }}
58+ if : ${{ steps.update-readme.outcome == 'success ' }}
5759 run : |
5860 git config --local user.name "GitHub Actions Bot"
5961 git config --local user.email "[email protected] " 6769 echo "::notice::Changes committed and branch pushed."
6870
6971 - name : Upload branch name artifact
70- if : ${{ steps.update-readme.outputs.changes_found == 'true ' }}
72+ if : ${{ steps.update-readme.outcome == 'success ' }}
7173 uses : actions/upload-artifact@v4
7274 with :
7375 name : branch-name
You can’t perform that action at this time.
0 commit comments