diff --git a/.github/workflows/notify_release.yml b/.github/workflows/notify_release.yml index 7c992558fc..4920646cc6 100644 --- a/.github/workflows/notify_release.yml +++ b/.github/workflows/notify_release.yml @@ -25,7 +25,7 @@ jobs: env: WEBHOOK_URL: ${{ secrets.SLACK_RELEASE_WEBHOOK_URL }} VERSION: ${{github.event.release.html_url}} - REPO_URL: ${{github.event.repository.html_url}} + REPO_NAME: ${{github.event.repository.name}} ACTION_NAME: ${{github.event.action}} shell: bash - run: echo $VERSION | xargs -I {} curl -s POST "$WEBHOOK_URL" -H "Content-Type:application/json" --data '{"action":"'$ACTION_NAME'", "repo":"'$REPO_URL'", "version":"{}"}' + run: echo $VERSION | xargs -I {} curl -s POST "$WEBHOOK_URL" -H "Content-Type:application/json" --data '{"action":"'$ACTION_NAME'", "repo":"'$REPO_NAME'", "version":"{}"}'