Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #6 from gha-trigger/fix/update-commit-status-condi…
Browse files Browse the repository at this point in the history
…tionally

fix: skip updating a commit status when env.COMMIT_STATUS_SHA is empty
  • Loading branch information
suzuki-shunsuke authored Sep 5, 2022
2 parents fe55c85 + 31d9c10 commit 97ce15a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ runs:
private_key: ${{inputs.app_private_key}}

- uses: suzuki-shunsuke/update-commit-status-action@main
if: env.GHA_COMMIT_STATUS_SHA
with:
repo_owner: ${{env.GHA_REPOSITORY_OWNER}}
repo_name: ${{env.MAIN_REPO_NAME}}
Expand Down

0 comments on commit 97ce15a

Please sign in to comment.