Releases: fkirc/skip-duplicate-actions
v5.3.1
feat: do not skip merge group (#329) * feat: do not skip merge gorup - add `merge_group` as workflow trigger - add `merge_group` to default value sfor `do-not-skip` triggers : else, worfklow will be skipped when the PR is added to a merge queue since it just ran before * chore: compile --------- Co-authored-by: Felix K <[email protected]>
v5.3.0
v5.2.0
v5.1.0
Allow release
for do_not_skip
input (#273)
v5.0.0
Various optimizations:
- Check all inputs before doing any API requests
- Stricter check for
doNotSkip
input - Exclude current workflow run from list of all workflow runs
- Get rid of redundant and unnecessary lines
- Add some explaining comments
- Fix bug with empty
head_repository
- Action might be a bit faster 🚀
Breaking changes:
-
Previously, on input and API request errors the action might have exited successfully but with outputs
should_skip = false
andreason = no_workflow_information
. Now, the action will exit with an error instead.To make sure that subsequent jobs will not be skipped in such cases it's recommended to set
continue-on-error: true
in theskip-duplicate-actions
job.
Note: This has already been recommended in the past regardless of this change. -
The structure of the
skipped_by
output (also inpaths_filter
) has slightly changed for the sake of consistency and alignment with GitHub API:runId
is nowid
html_url
is nowhtmlUrl
- Full example:
{ "id": 1709469369, "runNumber": 737, "event": "pull_request", "treeHash": "e3434bb7aeb3047d7df948f09419ac96cf03d73e", "commitHash": "4a0432e823468ecff81a978165cb35586544c795", "status": "completed", "conclusion": "success", "htmlUrl": "https://github.com/fkirc/skip-duplicate-actions/actions/runs/1709469369", "branch": "master", "repo": "fkirc/skip-duplicate-actions", "workflowId": 2640563, "createdAt": "2022-01-17T18:56:06Z" }
Other changes:
- Update dependencies
Full Changelog: v4...v5.0.0
v4.0.0
Advanced path-filtering and output options (#181)
v3.4.1
Fix same_content_new bug (runs would be inappropriately skipped) (#125)
v3.4.0
Disable cancellation by default (#93)
v3.3.0
Improve logging of paths-skipping (#80)
v3.2.0
Optional duplicate skipping (#74)