Skip to content

Commit 17d121b

Browse files
committed
Add back create-commit id
1 parent 5d8d682 commit 17d121b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/update-docker-build-image.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
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: |
@@ -89,7 +90,7 @@ jobs:
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 }}"

0 commit comments

Comments
 (0)