From 03f4ee7cfa9864fa2ef95c24d4348c8d52028bde Mon Sep 17 00:00:00 2001 From: Sebastian Villena <97059974+ruisebas@users.noreply.github.com> Date: Wed, 4 Oct 2023 11:56:47 -0400 Subject: [PATCH] chore: Sending repo name instead of URL in release notification [skip ci] (#3273) --- .github/workflows/notify_release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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":"{}"}'