-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(github-actions): rework token revoke mechanism to not rely on `po…
…st` run Currently Github actions acquire tokens from the secrets for an app installation. The actions can operate on repositories using this token. Later, as a Github action (separate step) we attempt to revoke the token. This does not work at all, and never did, because the previously used installation Github token is not known in the post step, so the post step always failed. We rework this to always revoke the token as part of the Node process where we acquired the installation token.
- Loading branch information
1 parent
c713d4a
commit 2025d98
Showing
34 changed files
with
207 additions
and
77,951 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ inputs: | |
runs: | ||
using: 'node16' | ||
main: 'main.js' | ||
post: 'post.js' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.