Repository navigation
Releases
Releases · drivendataorg/failed-build-issue-action
v1.4.0
Immutable
release. Only release title and notes can be modified.
This is the last release the v1 tag will point to. This repository will no longer create or update major version tags. A movable tag can be pointed at different code without any change to your workflow, which is a supply chain attack risk. Since v1.3.0, we publish exact version tags as immutable releases, so GitHub prevents them from being moved. v1 will continue working as an alias for v1.4.0, and we won't move it to later releases, but it doesn't have that protection. Pin to a commit SHA (recommended), or to an exact version such as v1.4.0.
- Added a notice, shown when the action is used via
@v1, thatv1will no longer receive updates. - Updated
@actions/coreto v3 and@actions/githubto v9. This clears security advisories in the older Octokit libraries bundled with the action, and removes thepunycodeandurl.parse()deprecation warnings it logged on every run. Inputs, outputs, and behavior are unchanged. - Added
dist/licenses.txt, which holds the license notices of the dependencies bundled intodist/index.js.
v1.3.0
We've moved! This repository has transferred from jayqi/failed-build-issue-action to drivendataorg/failed-build-issue-action. Old references will continue to redirect but we recommend updating.
- Changed action to use Node 24 runtime.
- Changed the
github-tokeninput to default to${{ github.token }}, the token GitHub Actions automatically provides to every job. Basic usage now needs nowith:block at all. Passinggithub-tokenexplicitly still works and is unchanged, and is still how you use a different account, such as a GitHub App or a personal access token. - Renamed the
refnametemplate variable torefName, matching the camelCase of the other template variables.refnamestill works but is deprecated and now logs a warning when a template uses it; it will be removed in a future major version. - Added a
refUrltemplate variable holding a complete, percent-encoded URL to the branch or tag. The defaultbody-templatenow uses it for the branch link. Prefer it over building a URL out ofrefNameyourself:refNameis display text, and for a pull request from a fork it is prefixed with the owner, e.g.,contributor:feature/foo, which is not a valid URL path. - Added
label-colorandlabel-descriptioninputs, which set the color and description of the label when the action creates it. Both have defaults, so a newly created label gets GitHub's failing-build red and a description naming this action as its source. Both only apply to newly created labels and not to existing labels. - Fixed
refNamenaming the wrong branch forpull_requestandworkflow_runevents, which had made the branch link 404 or point at the default branch rather than the branch that failed. - Fixed
refNametruncating branch and tag names containing slashes, so a branch likefeature/foono longer becomesfoowith a broken link. - Fixed the default
body-templatehardcodinghttps://github.com, which generated links to the wrong host on GitHub Enterprise Server. It now uses{{serverUrl}}. Rendered output on github.com is unchanged. - Fixed title and body templates HTML-escaping rendered values, which corrupted issue titles and code spans in issue and comment bodies.
- Fixed the search for an existing issue incorrectly matching pull requests. GitHub's REST API returns pull requests from the issues endpoint, so a pull request carrying the configured label could become the comment target and the action would never open a real issue. Pull requests are now skipped, and the action logs a warning naming any it finds with the label.
- Fixed the action making an unnecessary API request to search for existing issues when
always-create-new-issueistrue. - Fixed the incorrect
required: trueon all inputs, changing torequired: false. GitHub Actions did not enforcerequiredfor action inputs anyway, so this is a metadata fix and does not change behavior. - Fixed debug logging of errors printing
{}instead of the error. Debug output now includes the error message, stack trace, and, when the failure wraps a GitHub API error, the underlying status and response.
v1.2.0
- Changed action to use Node 20 runtime
- Updated dependency versions.
v1.1.1
- Removed source map and license from build command because JasonEtco/build-and-tag-action does not support additional files.
v1.1.0
- Added tests.
- Added more informative error if label does not exist and
create-labelis false. - Updated dependency versions.