joshjohanning/Enforce GitHub PAT Expiration for SSO Orgs
Revokes SSO authorization for PATs that do not meet the minimum expiration requirements
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| organization | The organization to check for SSO PATs | yes | ${{ github.repository_owner }} |
| policy-in-days | The maximum number of days a PAT can be valid for | yes | 90 |
| github-token | The GitHub token to use for API calls (requiring org admin access) | yes | — |
| dry-run | The animal to return an emoji for | no | false |
| create-issue | Create an issue notifying the user of the revoked PATs | no | false |
| issue-repo | If create-issues is true, the repo to create the issue in | no | ${{ github.repository }} |
Outputs
no outputs