File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -33,17 +33,15 @@ jobs:
3333 id : update-readme
3434 run : |
3535 node update-readme.js parsed-badges.json
36- if [ $? -eq 0 ]; then
37- echo "changes-found=true" >> $GITHUB_ENV
38- else
39- echo "changes-found=false" >> $GITHUB_ENV
40- fi
41- echo "::notice::Checked and updated README if changes were found."
36+ continue-on-error : true # Allow job to continue even if no changes are found
37+
38+ outputs :
39+ changes-found : ${{ steps.update-readme.outcome == 'success' }}
4240
4341 create-pr :
4442 runs-on : ubuntu-22.04
4543 needs : check-and-update-readme
46- if : env. changes-found == 'true'
44+ if : needs.check-and-update-readme.outputs[' changes-found'] == 'true'
4745 steps :
4846 - name : Create branch and commit changes
4947 run : |
You can’t perform that action at this time.
0 commit comments