File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,20 +14,24 @@ concurrency:
1414jobs :
1515 create-nightly-tag :
1616 runs-on : ubuntu-latest
17+ env :
18+ HOMEBREW_TAP_APP_ID : ${{ secrets.HOMEBREW_TAP_APP_ID }}
19+ HOMEBREW_TAP_APP_PRIVATE_KEY : ${{ secrets.HOMEBREW_TAP_APP_PRIVATE_KEY }}
1720 steps :
1821 - name : Generate token
1922 id : app-token
23+ if : ${{ env.HOMEBREW_TAP_APP_ID != '' && env.HOMEBREW_TAP_APP_PRIVATE_KEY != '' }}
2024 uses : actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
2125 with :
22- app -id : ${{ secrets.HOMEBREW_TAP_APP_ID }}
26+ client -id : ${{ secrets.HOMEBREW_TAP_APP_ID }}
2327 private-key : ${{ secrets.HOMEBREW_TAP_APP_PRIVATE_KEY }}
2428 owner : ${{ github.repository_owner }}
25- repositories : cli
29+ repositories : ${{ github.event.repository.name }}
2630
2731 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2832 with :
2933 fetch-depth : 0
30- token : ${{ steps.app-token.outputs.token }}
34+ token : ${{ steps.app-token.outputs.token || github.token }}
3135
3236 - name : Create nightly tag
3337 run : |
You can’t perform that action at this time.
0 commit comments