Commit Graph
7 Commits
Author SHA1 Message Date
Denys Zhuravel 4b5fb2c8ad Add a note about the site_admin scope
* add a note to the readme
* add a note to the autogenerated cli help
2022-09-21 12:05:27 +00:00
Denys Zhuravel 37946dfc91 Require site_admin for the impersonation logic
Also, fixed casing in the text literals
2022-09-21 11:59:16 +00:00
Denys Zhuravel a7d588cf7c Don't enable the impersonation by default.
* Require the impersonation to be explicit with the --actions-admin-user flag
* Reword the log messages to look the same way the existing messages are
2022-09-20 09:48:29 +00:00
Denys Zhuravel c32265a4df Add actions-admin-user to readme 2022-09-09 09:35:07 +00:00
Denys Zhuravel 669526d239 Add the compiled binary to git ignore 2022-09-09 09:35:07 +00:00
Denys Zhuravel e4525fb4aa Add dummy routes to the test stub to mimic the github api 2022-09-09 09:35:07 +00:00
Denys Zhuravel 7ef65dedf2 Add a --actions-admin-user flag
Same as in here
https://github.com/github/codeql-action-sync-tool/blob/33463970b845ac4bb9e4cae6adc2a8b7cd6f6142/internal/push/push.go#L106-L113

Add a warning about the missing site_admin scope in the token
Add a way to ignore the actions admin impersonation.
2022-09-09 09:35:01 +00:00