Skip to content

Commit

Permalink
Generate using tibdex/github-app-token for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Harding <[email protected]>
  • Loading branch information
klutchell committed Dec 6, 2024
1 parent 87abf7b commit 04ebf5f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/yocto-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,16 @@ jobs:
private-key: ${{ secrets.BALENAOS_CI_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}

# https://github.com/tibdex/github-app-token
- name: Generate GitHub App installation token with tibdex/github-app-token
if: ${{ always() }}
uses: tibdex/github-app-token@0914d50df753bbc42180d982a6550f195390069f # v2.0.0
with:
app_id: ${{ vars.BALENAOS_CI_APP_ID }}
installation_retrieval_mode: organization
installation_retrieval_payload: ${{ github.repository_owner }}
private_key: ${{ secrets.BALENAOS_CI_APP_PRIVATE_KEY }}

# Generate another app token for the balena-io organization
# so we can checkout private contracts
# https://github.com/actions/create-github-app-token
Expand Down

0 comments on commit 04ebf5f

Please sign in to comment.