From e8a221d22718efe10a0b585f1e8044aed66257f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Sun, 3 Oct 2021 17:08:50 +0200 Subject: [PATCH] Use org admin token My previous attempts to disallow running a workflow when pushing a tag failed, so let's ensure we can run said workflow. Maybe we will be able to understand why it happened after it happens. --- .github/workflows/release-on-milestone-closed.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-on-milestone-closed.yml b/.github/workflows/release-on-milestone-closed.yml index 97f407fde50..d6bad6020a6 100644 --- a/.github/workflows/release-on-milestone-closed.yml +++ b/.github/workflows/release-on-milestone-closed.yml @@ -21,7 +21,7 @@ jobs: with: args: "laminas:automatic-releases:release" env: - "GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }} + "GITHUB_TOKEN": ${{ secrets.ORGANIZATION_ADMIN_TOKEN }} "SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }} "GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }} "GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}