Skip to content

Commit

Permalink
feat: Add SHA to App Push Test commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilzyla committed Dec 6, 2023
1 parent 1b0f3a0 commit 047d843
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/app-push-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ jobs:

- name: Push branch
run: |
SHORT_SHA=$(printf %.8s "$GITHUB_SHA")
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
git add .
git commit --message "App Push Test ($GITHUB_REF_NAME)"
git commit --message "App Push Test (${GITHUB_REF_NAME}@${SHORT_SHA})"
git push --force origin "$BRANCH_NAME"

0 comments on commit 047d843

Please sign in to comment.