Skip to content

Commit

Permalink
fix: use proper sha (#192)
Browse files Browse the repository at this point in the history
* fix: use proper sha

* check action

* chore: tbs
  • Loading branch information
dmaklygin authored Jul 27, 2023
1 parent 68ecca0 commit 6d59212
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/polite-colts-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'davinci-github-actions': patch
---

- fix sha for jira deployment gh action
5 changes: 4 additions & 1 deletion create-jira-deployment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ runs:
run: |
echo APP_NAME=$(echo "${{ github.repository }}" | cut -d'/' -f2) >> $GITHUB_OUTPUT
- id: branch
uses: xt0rted/[email protected]

- name: Trigger `Create JIRA` deployment
uses: toptal/[email protected]
if: ${{ always() }}
Expand All @@ -80,6 +83,6 @@ runs:
{
"appName": "${{ steps.repo.outputs.APP_NAME }}",
"envName": "${{ inputs.environment }}",
"sha": "${{ github.sha }}"
"sha": "${{ steps.branch.outputs.head_sha }}"
}
job_timeout: '3600'

0 comments on commit 6d59212

Please sign in to comment.