File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -212,3 +212,16 @@ jobs:
212212 run : |
213213 echo "Client generation failed. Please check the Generate step logs for details."
214214 exit 1
215+
216+ - name : " Slack Notification"
217+ if : failure() && ${{ github.event.inputs.create-pr }}
218+ uses : slackapi/slack-github-action@v2.1.1
219+ with :
220+ webhook : ${{ secrets.SLACK_WEBHOOK }}
221+ webhook-type : incoming-webhook
222+ payload : |
223+ blocks:
224+ - type: "section"
225+ text:
226+ type: "mrkdwn"
227+ text: "⚠️ Weekly spec update failed! 😬 Please inspect & fix by clicking <https://github.com/SAP/ai-sdk-java/actions/runs/${{ github.run_id }}|here>"
Original file line number Diff line number Diff line change 4141 run : |
4242 BRANCH="main"
4343 if [ "${{ matrix.file }}" = "orchestration" ]; then
44- BRANCH="rel/ $ORCH_VERSION"
44+ BRANCH="rel- $ORCH_VERSION"
4545 fi
4646 echo "Using branch: $BRANCH"
4747
You can’t perform that action at this time.
0 commit comments