File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 with :
3131 ref : ${{ steps.branch.outputs.name }}
3232 fetch-depth : 0
33- token : ${{ secrets.REPOSITORY_PUSH_TOKEN }}
33+ token : ${{ secrets.REPOSITORY_PUSH_TOKEN || github.token }}
3434
3535 - name : Setup Go environment
3636 uses : actions/setup-go@v6
5151
5252 - name : Open catalog PR
5353 env :
54- GH_TOKEN : ${{ secrets.REPOSITORY_PUSH_TOKEN }}
54+ GH_TOKEN : ${{ secrets.REPOSITORY_PUSH_TOKEN || github.token }}
5555 run : |
5656 git config user.name rhobs-release-bot
5757 git config user.email release-bot@monitoring.rhobs.io
Original file line number Diff line number Diff line change 3030 uses : actions/checkout@v6
3131 with :
3232 fetch-depth : 0
33- token : ${{ secrets.REPOSITORY_PUSH_TOKEN }}
33+ token : ${{ secrets.REPOSITORY_PUSH_TOKEN || github.token }}
3434 persist-credentials : false
3535
3636 # standard-version's release-as relies on controller-gen for code generation.
7272 uses : actions/checkout@v6
7373 with :
7474 fetch-depth : 0
75- token : ${{ secrets.REPOSITORY_PUSH_TOKEN }}
75+ token : ${{ secrets.REPOSITORY_PUSH_TOKEN || github.token }}
7676
7777 - name : Setup Go environment
7878 uses : actions/setup-go@v6
@@ -100,7 +100,7 @@ jobs:
100100
101101 - name : Open catalog PR
102102 env :
103- GH_TOKEN : ${{ secrets.REPOSITORY_PUSH_TOKEN }}
103+ GH_TOKEN : ${{ secrets.REPOSITORY_PUSH_TOKEN || github.token }}
104104 run : |
105105 git config user.name rhobs-release-bot
106106 git config user.email release-bot@monitoring.rhobs.io
Original file line number Diff line number Diff line change 2828 - uses : actions/checkout@v6
2929 with :
3030 fetch-depth : 0
31- token : ${{ secrets.REPOSITORY_PUSH_TOKEN }}
31+ token : ${{ secrets.REPOSITORY_PUSH_TOKEN || github.token }}
3232
3333 # Bumping the version in the next step will also run code generation scripts
3434 # that depend on controller-gen.
6060
6161 - name : Open catalog PR
6262 env :
63- GH_TOKEN : ${{ secrets.REPOSITORY_PUSH_TOKEN }}
63+ GH_TOKEN : ${{ secrets.REPOSITORY_PUSH_TOKEN || github.token }}
6464 run : |
6565 git config user.name rhobs-release-bot
6666 git config user.email release-bot@monitoring.rhobs.io
You can’t perform that action at this time.
0 commit comments