From 2eb43a5d816cdeead6c6acddd30b27920a183b73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Fri, 18 Apr 2025 18:36:08 +0200 Subject: [PATCH] fix(ci): set GH_TOKEN for commenting after fast-forward failure --- .github/workflows/fast-forward.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/fast-forward.yml b/.github/workflows/fast-forward.yml index a292522b88..963afe3821 100644 --- a/.github/workflows/fast-forward.yml +++ b/.github/workflows/fast-forward.yml @@ -35,6 +35,8 @@ jobs: - name: Comment if mergeable_state is not clean if: ${{ github.event.pull_request.mergeable_state != 'clean' }} + env: + GH_TOKEN: ${{ secrets.CI_ACCESS_TOKEN }} run: | gh pr comment ${{ github.event.pull_request.number }} \ --repo "${GITHUB_REPOSITORY}" \