Skip to content

Commit 345aa84

Browse files
authored
Merge pull request #1898 from rubocop/fix-publish-workflow
CI: Add GH_TOKEN to publish workflow
2 parents 13538ff + 54a5b21 commit 345aa84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
--title "RuboCop RSpec $(git tag --points-at @)" \
2929
--notes-file relnotes.md
3030
- name: Replace version in Antora config
31+
env:
32+
GH_TOKEN: ${{ github.token }}
3133
run: |
3234
sed -i 's/version:.*$/version: ~/' docs/antora.yml
3335
if ! git diff --exit-code docs/antora.yml; then

0 commit comments

Comments
 (0)