Skip to content

Commit

Permalink
Merge pull request #1898 from rubocop/fix-publish-workflow
Browse files Browse the repository at this point in the history
CI: Add GH_TOKEN to publish workflow
  • Loading branch information
ydah authored Jun 3, 2024
2 parents 13538ff + 54a5b21 commit 345aa84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
--title "RuboCop RSpec $(git tag --points-at @)" \
--notes-file relnotes.md
- name: Replace version in Antora config
env:
GH_TOKEN: ${{ github.token }}
run: |
sed -i 's/version:.*$/version: ~/' docs/antora.yml
if ! git diff --exit-code docs/antora.yml; then
Expand Down

0 comments on commit 345aa84

Please sign in to comment.