|
25 | 25 | node_version: |
26 | 26 | description: "Node.js container version" |
27 | 27 | type: string |
28 | | - default: "node:20-bookworm" |
| 28 | + default: "node:22-bookworm" |
29 | 29 | use_env_local: |
30 | 30 | description: "Whether to use the environment local file provided in secrets" |
31 | 31 | type: boolean |
@@ -85,21 +85,14 @@ jobs: |
85 | 85 | HEAD_SHA: ${{ env.HEAD_SHA }} |
86 | 86 | HEAD_BRANCH_NAME: ${{ env.HEAD_BRANCH_NAME }} |
87 | 87 | steps: |
88 | | - - name: Generate GitHub App Token |
89 | | - id: app-token |
90 | | - if: inputs.github_app_auth != false |
91 | | - uses: actions/create-github-app-token@v2 |
| 88 | + - name: Checkout with GitHub App |
| 89 | + uses: zondax/_actions/checkout-with-app@main |
92 | 90 | with: |
93 | | - app-id: ${{ secrets.app_id }} |
94 | | - private-key: ${{ secrets.app_pem }} |
95 | | - repositories: ${{ inputs.github_app_repos }} |
96 | | - |
97 | | - - name: Checkout |
98 | | - uses: actions/checkout@v4 |
99 | | - with: |
100 | | - fetch-depth: 0 # Disable shallow clone |
101 | | - submodules: ${{ inputs.checkout_submodules }} |
102 | | - token: ${{ steps.app-token.outputs.token || github.token }} |
| 91 | + github_app_auth: ${{ inputs.github_app_auth }} |
| 92 | + github_app_repos: ${{ inputs.github_app_repos }} |
| 93 | + checkout_submodules: ${{ inputs.checkout_submodules }} |
| 94 | + app_id: ${{ secrets.app_id }} |
| 95 | + app_pem: ${{ secrets.app_pem }} |
103 | 96 |
|
104 | 97 | - name: Install system dependencies |
105 | 98 | run: | |
|
0 commit comments