Skip to content

Commit

Permalink
Add get_access_token.yml for getting an access token from the primer App
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron committed Aug 21, 2023
1 parent 2b97756 commit 48dd8ce
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/get_access_token.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Use the primer GitHub App for authentication.
# See: https://github.com/organizations/primer/settings/apps/primer

name: Get an access token from the primer App

jobs:
get-access-token:
name: Get access token
runs-on: ubuntu-latest
steps:
- uses: camertron/github-app-installation-auth-action@v1
with:
app-id: ${{ vars.PRIMER_APP_ID_SHARED }}
private-key: ${{ secrets.PRIMER_APP_PRIVATE_KEY_SHARED }}
client-id: ${{ vars.PRIMER_APP_CLIENT_ID_SHARED }}
client-secret: ${{ secrets.PRIMER_APP_CLIENT_SECRET_SHARED }}
installation-id: ${{ vars.PRIMER_APP_INSTALLATION_ID_SHARED }}

0 comments on commit 48dd8ce

Please sign in to comment.