File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7979 --base master \
8080 --head "$BRANCH"
8181 fi
82+
83+ # Capture PR URL for Slack notification
84+ PR_URL=$(gh pr view "$BRANCH" --repo "$GITHUB_REPOSITORY" --json url --jq .url 2>/dev/null || echo "")
85+ echo "PR_URL=$PR_URL" >> "$GITHUB_ENV"
86+ echo "PR_OPENED=true" >> "$GITHUB_ENV"
87+
88+ # ────────────────────────────────────────────────────────────────────────
89+ # Slack notifications
90+ # ────────────────────────────────────────────────────────────────────────
91+
92+ - name : Slack success notification
93+ if : success() && env.PR_OPENED == 'true'
94+ env :
95+ SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
96+ SLACK_IOS_RELEASES_CHANNEL : ${{ secrets.SLACK_IOS_RELEASES_CHANNEL }}
97+ STATUS : success
98+ DEMO_TITLE : " AppLovin Waterfall Demo"
99+ run : bash .github/scripts/notify-slack.sh
100+
101+ - name : Slack failure notification
102+ if : failure()
103+ env :
104+ SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
105+ SLACK_IOS_RELEASES_CHANNEL : ${{ secrets.SLACK_IOS_RELEASES_CHANNEL }}
106+ STATUS : failure
107+ DEMO_TITLE : " AppLovin Waterfall Demo"
108+ run : bash .github/scripts/notify-slack.sh
You can’t perform that action at this time.
0 commit comments