From 2e18e94848c1db34ae7aac3f301bb738350d2b95 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 13 Nov 2024 12:44:01 +0100 Subject: [PATCH] ci(workflow): fix set-env job (checkout + token) --- .github/workflows/notify-release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/notify-release.yml b/.github/workflows/notify-release.yml index d9cbf515..d22bd503 100644 --- a/.github/workflows/notify-release.yml +++ b/.github/workflows/notify-release.yml @@ -16,6 +16,9 @@ jobs: tag: ${{ steps.set-env.outputs.tag }} repo_name: ${{ steps.set-env.outputs.repo_name }} steps: + - name: Check out repository + uses: actions/checkout@v4 + - name: Expose tag and repo_name id: set-env run: | @@ -30,6 +33,7 @@ jobs: echo "repo_name=$REPO_NAME" >> $GITHUB_OUTPUT env: INPUT_TAG: ${{ github.event.inputs.tag }} + GH_TOKEN: ${{ secrets.OPS_TOKEN }} notify-github-discussion: runs-on: ubuntu-22.04