Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
JDeepD committed Oct 12, 2024
1 parent e5b46b7 commit a5104a2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ inputs:
GITHUB_TOKEN:
description: 'GitHub token for creating/updating comments'
required: true
COMMIT_SHA:
description: 'The SHA of the commit that triggered the workflow'
required: true

runs:
using: "composite"
Expand Down Expand Up @@ -56,6 +59,7 @@ runs:
ACCOUNT_ID: ${{ inputs.ACCOUNT_ID }}
PROJECT_NAME: ${{ inputs.PROJECT_NAME }}
PR_BRANCH: ${{ github.head_ref }}
COMMIT_SHA: ${{ inputs.COMMIT_SHA }}
run: |
fetch_latest_deployment() {
RESPONSE=$(curl -s -X GET \
Expand Down Expand Up @@ -184,7 +188,7 @@ runs:
| Key | Value |
| --- | ----- |
| Branch | ${{ github.head_ref }} |
| Commit | ${{ github.sha }} |
| Commit | ${{ inputs.COMMIT_SHA }} |
| Build Time | ${{ env.BUILD_TIME }} |
| Status | ${{ env.BUILD_STATUS }} |
Expand Down

0 comments on commit a5104a2

Please sign in to comment.