File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 7474 git push -u origin ${{ steps.define-branch.outputs.branch }} --force
7575 - name : Commit changes
7676 if : steps.check-changes.outputs.commit_changes == 'true'
77+ id : create-commit
7778 env :
7879 GITHUB_TOKEN : ${{ steps.octo-sts.outputs.token }}
7980 run : |
8990 echo "commit=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
9091 - name : Push changes
9192 uses : DataDog/commit-headless@1186485b788f57eedaaadb19919781698b4d262f # action/v1.0.0
92- if : ${{ steps.create-commit.outputs.commit != '' }}
93+ if : ${{ steps.check-changes.outputs.commit_changes == 'true' && steps. create-commit.outputs.commit != '' }}
9394 with :
9495 token : " ${{ steps.octo-sts.outputs.token }}"
9596 branch : " ${{ steps.define-branch.outputs.branch }}"
You can’t perform that action at this time.
0 commit comments