File tree Expand file tree Collapse file tree
template/[% if repo_platform == 'github' %].github[% endif %]/workflows Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 - name : Generate a token with GitHub App if App ID exists
2929 id : generate-token
3030 if : vars.BOT_APP_ID
31- uses : actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1
31+ uses : actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2
3232 with :
3333 app-id : ${{ vars.BOT_APP_ID }}
3434 private-key : ${{ secrets.BOT_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 2424 - name : Generate a bot token with BOT_APP_ID
2525 id : bot_token
2626 if : vars.BOT_APP_ID && env.BOT_PRIVATE_KEY != null
27- uses : actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1
27+ uses : actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2
2828 env :
2929 BOT_PRIVATE_KEY : ${{ secrets.BOT_PRIVATE_KEY }}
3030 with :
Original file line number Diff line number Diff line change 2828 - name: Generate a token with GitHub App if App ID exists
2929 id: generate-token
3030 if: vars.BOT_APP_ID
31- uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1
31+ uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2
3232 with:
3333 app-id: {{ '${{ vars.BOT_APP_ID }}' }}
3434 private-key: {{ '${{ secrets.BOT_PRIVATE_KEY }}' }}
Original file line number Diff line number Diff line change 2424 - name: Generate a bot token with BOT_APP_ID
2525 id: bot_token
2626 if: vars.BOT_APP_ID && env.BOT_PRIVATE_KEY != null
27- uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1
27+ uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2
2828 env:
2929 BOT_PRIVATE_KEY: {{ '${{ secrets.BOT_PRIVATE_KEY }}' }}
3030 with:
You can’t perform that action at this time.
0 commit comments