File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Notify Slack on PR Merge
2+
3+ on :
4+ pull_request :
5+ types : [closed]
6+
7+ jobs :
8+ notify :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Check if PR was merged
12+ if : github.event.pull_request.merged == true
13+ uses : rtCamp/action-slack-notify@v2
14+ env :
15+ SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK_URL }}
16+ SLACK_MESSAGE : |
17+ ✅ PR Merged!
18+ 🔗 Repository: `${{ github.repository }}`
19+ 🛠 Merged by: `${{ github.actor }}`
20+ 🚀 PR Title: `${{ github.event.pull_request.title }}`
21+ 📝 PR Description: `${{ github.event.pull_request.body }}`
22+ 🔗 PR URL: ${{ github.event.pull_request.html_url }}
23+ SLACK_USERNAME : " GitHub Actions"
24+ SLACK_ICON_EMOJI : " :white_check_mark:"
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ spring:
1414 properties :
1515 hibernate.format_sql : true
1616
17-
1817 flyway :
1918 enabled : true
2019 baseline-on-migrate : true
You can’t perform that action at this time.
0 commit comments