Skip to content

Commit

Permalink
ci: add GH private token to CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
joseacabaneros committed Oct 18, 2024
1 parent ec6e0eb commit 681dde9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,20 @@ jobs:
shell: sh

steps:
- name: Generate a token
id: app-token
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1
with:
app-id: ${{ vars.GH_TOKENS_APP_ID }}
private-key: ${{ secrets.GH_TOKENS_APP_PRIVATE_KEY }}

- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4

- name: Load Motive Shared Actions
uses: daspn/private-actions-checkout@v2
with:
app_id: ${{ secrets.MOTIVE_PRIVATE_ACTIONS_APP_ID }}
app_private_key: ${{ secrets.MOTIVE_PRIVATE_ACTIONS_APP_PRIVATE_KEY }}
app_id: ${{ vars.GH_TOKENS_APP_ID }}
app_private_key: ${{ secrets.GH_TOKENS_APP_PRIVATE_KEY }}
configure_git: true
actions_list: '[ "empathyco/platform-motive-ci-library@v5" ]'
checkout_base_path: ./.loaded_actions/actions
Expand Down

0 comments on commit 681dde9

Please sign in to comment.