Skip to content

pkr4711/test-auto-approve

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test-auto-approve

Test github pipeline to auto approve a flake bump.

Install

  • Follow this guide: https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app

  • Create a GitHub app auto-approve-app in your GH organization

    • github.com// -> Settings -> Developer Settings -> GitHub Apps -> New GitHub App
      • Add a name and Homepage URL
      • Add Repository Permissions
        • Actions: RO
        • Contents: RW
        • Metadata: RO
        • Pull Requests: RW
        • Workflows: RW
  • Install this app into your organization

    • github.com// -> Settings -> Developer Settings -> GitHub Apps -> Select auto-approve-app -> Install App
      • Only select repositories:
  • Find app_id

    • github.com// -> Settings -> Developer Settings -> GitHub Apps -> Select auto-approve-app
    • you find the app_id in the General section
  • Create app client secret

    • github.com// -> Settings -> Developer Settings -> GitHub Apps -> Select auto-approve-app -> Client secrets
    • The private key will be downloaded using your browser
    • Save it in 1Password or vault
  • Create two organization secrets:

    • GH_AUTO_APPROVE_APP_ID
    • GH_AUTO_APPROVE_APP_PRIVATE_KEY

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%