Skip to content

Commit

Permalink
Merge pull request #36 from rubocop/add-gh-token
Browse files Browse the repository at this point in the history
Add GH_TOKEN to publish workflow
  • Loading branch information
ydah committed Jun 8, 2024
2 parents bae2e60 + 17a26d2 commit 27d4340
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 Rails $(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 27d4340

Please sign in to comment.