Skip to content

Releases: fkirc/skip-duplicate-actions

v5.3.1

21 Oct 05:46
f75f66c
Compare
Choose a tag to compare
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

02 Dec 09:27
12aca0a
Compare
Choose a tag to compare
  • Retry API requests on server errors by @paescuj in #288
  • Update dependencies

v5.2.0

01 Oct 11:27
f115215
Compare
Choose a tag to compare

v5.1.0

22 Sep 15:02
b807605
Compare
Choose a tag to compare

Allow release for do_not_skip input (#273)

v5.0.0

22 Sep 06:58
16e4525
Compare
Choose a tag to compare

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 and reason = 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 the skip-duplicate-actions job.
    Note: This has already been recommended in the past regardless of this change.

  • The structure of the skipped_by output (also in paths_filter) has slightly changed for the sake of consistency and alignment with GitHub API:

    • runId is now id
    • html_url is now htmlUrl
    • 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

14 Apr 18:56
9d116fa
Compare
Choose a tag to compare

Advanced path-filtering and output options (#181)

v3.4.1

02 Aug 10:07
f75dd65
Compare
Choose a tag to compare

Fix same_content_new bug (runs would be inappropriately skipped) (#125)

v3.4.0

16 Mar 18:14
4c656bb
Compare
Choose a tag to compare

Disable cancellation by default (#93)

v3.3.0

22 Dec 12:22
ea548f2
Compare
Choose a tag to compare

Improve logging of paths-skipping (#80)

v3.2.0

18 Dec 15:57
79840b1
Compare
Choose a tag to compare

Optional duplicate skipping (#74)