Skip to content

Commit f3c4a8c

Browse files
authored
Merge branch 'main' into spec-update/orchestration/rel-0.108.12
2 parents 28ebc6b + 247143f commit f3c4a8c

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/spec-update.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff 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/[email protected]
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>"

.github/workflows/weekly-spec-update.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
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

0 commit comments

Comments
 (0)