jayqi/Failed Build Issue
Create or comment on an issue when your GitHub Actions workflow fails.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token with repository access, i.e., secrets.GITHUB_TOKEN | yes | — |
| label-name | Name of label that this action interacts with | yes | build failed |
| title-template | Mustache template to use as title when creating a new issue | yes | Failed build: {{workflow}} |
| body-template | Mustache template to use for issue or comment body | yes | GitHub Actions workflow [{{workflow}} #{{runNumber}}](https://github.com/{{repo.owner}}/{{repo.repo}}/actions/runs/{{runId}}) failed. Event: {{eventName}} Branch: [{{refname}}](https://github.com/{{repo.owner}}/{{repo.repo}}/tree/{{refname}}) Commit: [{{sha}}](https://github.com/{{repo.owner}}/{{repo.repo}}/commit/{{sha}}) <sup><i>Created by [jayqi/failed-build-issue-action](https://github.com/jayqi/failed-build-issue-action)</i></sup> |
| create-label | Whether to create a new label for 'label-name' if it doesn't already exist. | yes | true |
| always-create-new-issue | If true, will always create a new issue, even if one matching 'label-name' is already open. | yes | false |
Outputs
| name | description |
|---|---|
| issue-number | Issue number of new issue or comment |
| html-url | URL to new issue or comment on GitHub.com web app |