From 9975052ea730045d9dac2d58ab8c37736f7d2f17 Mon Sep 17 00:00:00 2001 From: ccamel Date: Wed, 13 Nov 2024 12:47:40 +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 4647d6f..769b1e6 100644 --- a/.github/workflows/notify-release.yml +++ b/.github/workflows/notify-release.yml @@ -15,6 +15,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: | @@ -29,6 +32,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