From 8b43931012bb81683a8cac26de642d919cae62df Mon Sep 17 00:00:00 2001 From: ydah Date: Sat, 8 Jun 2024 10:54:42 +0900 Subject: [PATCH] Add GH_TOKEN to publish workflow --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1c30495b..0fd78539 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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