hakadoriya-actions/hakadoriya-actions-paths-filter-alternative
A workaround workflow to resolve the incompatibility of `Require status checks to pass` setting when `paths` filter is set.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jan 14, 2025
- License
- Apache 2.0
Pinned Snippet
uses: hakadoriya-actions/paths-filter-alternative@d1b27090d1a610f8cdde46d8d937a4a9c9127619 # v1.0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| paths | A list of substrings of file paths to include written in regular expressions (like on.push.paths) | no | "" |
| paths-ignore | A list of substrings of file paths to ignore written in regular expressions (like on.push.paths-ignore) | no | "" |
| skip-checkout | If true, skip the checkout step | no | false |
| debug | Debug mode | no | false |
| before | The commit SHA before the push (push trigger only) | no | ${{ github.event.before }} |
| after | The commit SHA after the push (push trigger only) | no | ${{ github.event.after }} |
| base-ref | The base branch of the repository (pull_request trigger only) | no | ${{ github.event.pull_request.base.sha }} |
| head-ref | The head branch of the pull request (pull_request trigger only) | no | ${{ github.event.pull_request.head.sha }} |
Outputs
| name | description |
|---|---|
| skip | If no diff, this value is 'true'. Otherwise, this value is 'false'. |