Commit Graph
4 Commits
Author SHA1 Message Date
dff4b11d10 ci(test): set permissions in test workflow (#247)
-
https://github.com/actions/create-github-app-token/security/code-scanning/13
-
https://github.com/actions/create-github-app-token/security/code-scanning/14

This defines `permissions` on the `test.yml` workflow to align with our
Actions security best-practices and ensure workflows only have the
minimum required permissions.

Co-authored-by: Parker Brown <[email protected]>
2025-05-21 15:02:42 -04:00
Josh GrossandGitHub f577941506 Remove individuals form CODEOWNERS (#215)
Since we have the `@actions/create-github-app-token-maintainers`, we
don't need explicit references to individuals on that team.
2025-03-20 12:58:35 -04:00
Josh GrossandGitHub 0c014070f9 fix(revocation): avoid revoking expired tokens and fail gracefully (#95)
Fixes #72

If an Actions job is long enough, more than an hour can pass between
creating and revoking the App token in the post-job clean up step. Since
the token itself is used to authenticate with the revoke API, an expired
token will fail to be revoked.

This PR saves the token expiration in the actions state and uses that in
the post step to determine if the token can be revoked. I've also added
error handling to the revoke token API call, as it's unlikely that users
would want their job to fail if the token can't be revoked.
2024-01-19 07:45:12 -08:00
Josh GrossandGitHub 5611f921d9 docs(README): clarify token masking (#29)
With #13, this action is explicitly masking the token so we don't need to mention that we're relying on a specific format of GitHub tokens being masked by the runner.
2023-08-25 21:51:50 -07:00