Skip to content

Commit 0fc1c87

Browse files
authored
Fix token used for pushing of tags and branches in release workflow (#2151)
Our current configuration forbids GHA from pushing branches and tags to our repos. This change uses the rhacs-bot token, which should have the required permissions
1 parent 6b84c7e commit 0fc1c87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,14 @@ jobs:
163163
RELEASE: ${{ needs.determine-version.outputs.major }}.${{ needs.determine-version.outputs.minor }}
164164
RELEASE_TYPE: ${{ needs.determine-version.outputs.release-type }}
165165
PATCH: ${{ needs.determine-version.outputs.patch }}
166+
GH_TOKEN: "${{ secrets.RHACS_BOT_GITHUB_TOKEN }}"
166167

167168
steps:
168169
- uses: actions/checkout@v4
169170
with:
170-
submodules: false
171+
submodules: true
171172
fetch-depth: 0
173+
token: ${{ secrets.RHACS_BOT_GITHUB_TOKEN }}
172174

173175
- name: Initialize mandatory git config
174176
run: |

0 commit comments

Comments
 (0)