Skip to content

Commit

Permalink
Update pr-merge-notification.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nagarjunsanji authored Oct 9, 2024
1 parent 29d7a0e commit e75c2ba
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/pr-merge-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
runs-on: ubuntu-latest

steps:
# - name: Send Slack Notification
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
# run: |
# curl -X POST -H 'Content-type: application/json' \
# --data '{
# "text": "A PR has been merged in the repository *${{ github.repository }}*.\n*PR Title:* ${{ github.event.pull_request.title }}\n*Merged By:* ${{ github.event.pull_request.merged_by.login }}\n*PR URL:* ${{ github.event.pull_request.html_url }}"
# }' $SLACK_WEBHOOK_URL
- name: Send Slack Notification
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
run: |
curl -X POST -H 'Content-type: application/json' \
--data '{
"text": "A PR has been merged in the repository *${{ github.repository }}*.\n*PR Title:* ${{ github.event.pull_request.title }}\n*Merged By:* ${{ github.event.pull_request.merged_by.login }}\n*PR URL:* ${{ github.event.pull_request.html_url }}"
}' $SLACK_WEBHOOK_URL
- name: Send Microsoft Teams Notification
env:
Expand Down

0 comments on commit e75c2ba

Please sign in to comment.