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.
1 parent 692dcce commit 47cd3fcCopy full SHA for 47cd3fc
.github/workflows/cd_trigger.yml
@@ -111,10 +111,16 @@ jobs:
111
runs-on: ubuntu-latest
112
if: ${{ github.event.workflow_run.conclusion == 'success' }}
113
steps:
114
+ - id: generate-token
115
+ uses: actions/create-github-app-token@v2
116
+ with:
117
+ app-id: ${{ vars.APP_GITHUB_APP_ID }}
118
+ private-key: ${{ secrets.APP_GITHUB_APP_PRIVATE_KEY }}
119
+
120
- name: Checkout branch
121
uses: actions/checkout@v3
122
with:
- token: ${{ secrets.CD_PAT }}
123
+ token: ${{ steps.generate-token.outputs.token }}
124
ref: ${{ github.event.workflow_run.head_branch }}
125
126
- name: Setup node
0 commit comments