From d5fce5ecf7f26ca51bd81bea4817a86780c41967 Mon Sep 17 00:00:00 2001 From: ydah Date: Sat, 8 Jun 2024 10:58:15 +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 02bb19a..2c3c352 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,6 +28,8 @@ jobs: --title "RuboCop Capybara $(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