From 17a26d2802b0ebf08d8cd5fd0e3895b1a8a0c205 Mon Sep 17 00:00:00 2001 From: ydah Date: Sat, 8 Jun 2024 10:50:08 +0900 Subject: [PATCH] Add GH_TOKEN to publish workflow follow up: https://github.com/rubocop/rubocop-rspec/pull/1898 --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ac2f1ee..c4cf25e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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