ferlab-ste-justine/Check PR Approver
Enforce PR approval requirement and dismiss approvals on new commits unless changes are in allowed directories
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token with PR write permissions (needs repo scope or write access to pull requests) | yes | — |
| protected-path-pattern | Regular expression pattern for paths that do NOT require re-approval when changed (e.g., "^docs/.*|^README\\.md$") | yes | — |
Outputs
| name | description |
|---|---|
| status | The result status: "approved", "dismissed", or "failed" |
| matched-files | JSON array of files that matched the protected pattern |
| unmatched-files | JSON array of files that did NOT match the protected pattern |