fkirc/Skip Duplicate Actions
Skip duplicate workflow runs. Skip or ignore specific paths. Cancel outdated workflow runs.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | Your GitHub Access Token | yes | ${{ github.token }} |
| paths_ignore | A JSON-array with ignored path patterns | no | [] |
| paths | A JSON-array with path patterns | no | [] |
| paths_filter | A YAML-string with named paths_ignore/paths patterns | no | — |
| cancel_others | If true, then workflow runs from outdated commits will be cancelled | no | false |
| skip_after_successful_duplicate | If true, skip if an already finished duplicate run can be found | no | true |
| do_not_skip | A JSON-array with triggers that should never be skipped | no | ["workflow_dispatch", "schedule", "merge_group"] |
| concurrent_skipping | One of never, same_content, same_content_newer, outdated_runs, always | yes | never |
| skip_summary | If true, make the workflow logs shorter | no | false |
Outputs
| name | description |
|---|---|
| should_skip | Returns true if the current run should be skipped according to your configured rules |
| reason | The reason why the current run is considered skippable or unskippable |
| skipped_by | Returns information about the workflow run which caused the current run to be skipped |
| changed_files | A two-dimensional array, with a list of changed files for each commit that was traced back |
| paths_result | Returns information for each configured filter in paths_filter |