diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f398640..2a2e606 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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