This repository has been archived by the owner on Nov 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from gha-trigger/feat/support-workflow
feat: support updating commit statuses per workflow
- Loading branch information
Showing
8 changed files
with
1,861 additions
and
505 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
dist/index.js | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,35 @@ | ||
name: update-commit-status-action | ||
name: commit-status-action | ||
description: Update commit status according to job results | ||
inputs: | ||
repo_owner: | ||
description: Repository Owner | ||
required: true | ||
required: false | ||
repo_name: | ||
description: Repository Name | ||
required: true | ||
required: false | ||
sha: | ||
description: Commit hash | ||
required: true | ||
required: false | ||
github_token: | ||
description: GitHub Access Token | ||
required: false | ||
target_url: | ||
description: target URL | ||
required: false | ||
state: | ||
description: A string label to differentiate this status from the status of other systems. This field is case-insensitive | ||
required: false | ||
default: pending | ||
context: | ||
description: A string label to differentiate this status from the status of other systems. This field is case-insensitive | ||
required: false | ||
default: ${{ github.workflow }} / ${{ github.job }} (${{ github.event_name }}) | ||
github_token: | ||
description: GitHub Access Token | ||
needs: | ||
description: needs context. | ||
required: false | ||
default: ${{ github.token }} | ||
target_url: | ||
description: target URL | ||
start_workflow: | ||
description: Set true if you update the commit status per workflow and you want to update the commit status in this step. You should set true in only one step. | ||
required: false | ||
default: false | ||
runs: | ||
using: node16 | ||
main: dist/index.js |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.