10 Commits

Author SHA1 Message Date
Bernd Ahlers
e2e5504ff7 Add github parse-pr-deps command 2025-03-03 13:22:08 +01:00
Bernd Ahlers
7e8d261978 Log ruleset name on disable/enable 2024-03-06 12:43:01 +01:00
Bernd Ahlers
ba8b124577 Add --detect-repo flag to github rulesets command 2024-03-06 10:38:42 +01:00
Bernd Ahlers
40cd99abd4 Let gh.NewGitHubClient return a pointer 2024-03-06 10:17:09 +01:00
Bernd Ahlers
1b5b45907b Add github rulesets command 2024-03-06 00:20:29 +01:00
Marco Pfatschbacher
754e4fcd3f Support reading gh app key directly from env (#39)
* Support reading gh app key directly from env

Pass the app-key directly via GPC_GITHUB_APP_KEY env instead
of reading a file.
A file can still be used with the `app-key-file` flag.

* Fix error output for loading key file

Co-authored-by: Bernd Ahlers <bernd@users.noreply.github.com>

---------

Co-authored-by: Bernd Ahlers <bernd@users.noreply.github.com>
2023-11-07 12:09:42 +01:00
Bernd Ahlers
08e384f468 Add command to generate a GitHub app installation access token
Disable the branch-protection command. We don't use it anymore and it's
now dangerous to use because it would override our manualy brancht
protection configuration.
2023-01-13 12:46:45 +01:00
Bernd Ahlers
9ba312d747 Add example for --manifest option 2020-06-03 18:08:53 +02:00
Bernd Ahlers
af066cd15c Add --manifest and --dry-run flags to github branch-protection cmd 2020-06-03 18:06:40 +02:00
Bernd Ahlers
7323d14cd1 Add github subcommand for branch protection management 2017-12-22 19:12:11 +01:00