Skip to content

Commit

Permalink
chore: Sending repo name instead of URL in release notification [skip…
Browse files Browse the repository at this point in the history
… ci] (#3273)
  • Loading branch information
ruisebas authored Oct 4, 2023
1 parent 49a248b commit 03f4ee7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/notify_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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":"{}"}'

0 comments on commit 03f4ee7

Please sign in to comment.