File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -22,21 +22,11 @@ jobs:
22
22
- name : " Create release output"
23
23
run : echo '🎬 Release process for version ${{ inputs.version }} started by @${{ github.triggering_actor }}' >> $GITHUB_STEP_SUMMARY
24
24
25
- - name : " Create temporary app token"
26
- uses : actions/create-github-app-token@v1
27
- id : app-token
28
- with :
29
- app-id : ${{ vars.APP_ID }}
30
- private-key : ${{ secrets.APP_PRIVATE_KEY }}
31
-
32
- - name : " Store GitHub token in environment"
33
- run : echo "GH_TOKEN=${{ steps.app-token.outputs.token }}" >> "$GITHUB_ENV"
34
- shell : bash
35
-
36
- - uses : actions/checkout@v4
25
+ - name : " Generate token and checkout repository"
26
+ uses : mongodb-labs/drivers-github-tools/secure-checkout@v2
37
27
with :
38
- submodules : true
39
- token : ${{ env.GH_TOKEN }}
28
+ app_id : ${{ vars.APP_ID }}
29
+ private_key : ${{ secrets.APP_PRIVATE_KEY }}
40
30
41
31
- name : " Store version numbers in env variables"
42
32
run : |
You can’t perform that action at this time.
0 commit comments