Skip to content

Commit

Permalink
fix(github-actions): replace github.sha with (git rev-parse HEAD) to …
Browse files Browse the repository at this point in the history
…correctly get the current commit hash
  • Loading branch information
luandro committed Jun 17, 2024
1 parent 21cb087 commit 128a395
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/balena-pr-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
github_head_ref: ${{ github.head_ref }}
balena_release_type: draft
release_tag: ${{ github.ref_name }}
commit: ${{ github.sha }}
commit: $(git rev-parse HEAD)
2 changes: 1 addition & 1 deletion .github/workflows/balena-push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
github_head_ref: ${{ github.head_ref }}
balena_release_type: draft
release_tag: main
commit: ${{ github.sha }}
commit: $(git rev-parse HEAD)

0 comments on commit 128a395

Please sign in to comment.