We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
create-github-app-token
1 parent cf9708c commit 91413c7Copy full SHA for 91413c7
.github/workflows/create_release_branch.yml
@@ -20,10 +20,22 @@ jobs:
20
create-release-branch:
21
runs-on: ubuntu-latest
22
steps:
23
+
24
+ - name: Create GitHub App Token
25
+ uses: actions/create-github-app-token@v2
26
+ id: app-token
27
+ with:
28
+ app-id: ${{ vars.MONGODB_KUBERNETES_APP_ID }}
29
+ private-key: ${{ secrets.MONGODB_KUBERNETES_APP_PRIVATE_KEY }}
30
+ owner: ${{ github.repository_owner }}
31
32
- name: Checkout repository
33
uses: actions/checkout@v4
34
with:
35
fetch-depth: 0
36
+ token: ${{ steps.app-token.outputs.token }}
37
+ ref: ${{ github.head_ref }}
38
+ persist-credentials: false
39
40
- name: Check if release branch already exists
41
id: check-branch
0 commit comments