File tree Expand file tree Collapse file tree 1 file changed +3
-19
lines changed Expand file tree Collapse file tree 1 file changed +3
-19
lines changed Original file line number Diff line number Diff line change 9
9
required : true
10
10
type : " string"
11
11
12
- env :
13
- # TODO: Adding the mongodb-dbx-release-automation app to the repository will allow fetching a one-time token and pushing
14
- # changes on behalf of the app. This also allows bypassing branch protection rules
15
- GIT_AUTHOR_NAME : " mongodb-dbx-release-bot[bot]"
16
- GIT_AUTHOR_EMAIL : " 167856002+mongodb-dbx-release-bot[bot]@users.noreply.github.com"
17
-
18
12
jobs :
19
13
prepare-release :
20
14
environment : release
@@ -27,23 +21,13 @@ jobs:
27
21
contents : write
28
22
29
23
steps :
30
- - uses : actions/create-github-app-token@v1
31
- id : app-token
32
- with :
33
- app-id : ${{ vars.APP_ID }}
34
- private-key : ${{ secrets.APP_PRIVATE_KEY }}
35
-
36
- - name : " Store GitHub token in environment"
37
- run : echo "GH_TOKEN=${{ steps.app-token.outputs.token }}" >> "$GITHUB_ENV"
38
-
39
24
- name : " Create release output"
40
25
run : echo '🎬 Release process for version ${{ env.RELEASE_VERSION }} started by @${{ github.triggering_actor }}' >> $GITHUB_STEP_SUMMARY
41
26
42
- - uses : actions/ checkout@v4
27
+ - uses : mongodb-labs/drivers-github-tools/secure- checkout@v2
43
28
with :
44
- # fetch-depth 0 is required to fetch all branches and tags
45
- fetch-depth : 0
46
- token : ${{ steps.app-token.outputs.token }}
29
+ app-id : ${{ vars.APP_ID }}
30
+ private-key : ${{ secrets.APP_PRIVATE_KEY }}
47
31
48
32
- name : " Store version numbers in env variables"
49
33
# The awk command to increase the version number was copied from
You can’t perform that action at this time.
0 commit comments