Skip to content

Commit

Permalink
add workflow name hard-coded
Browse files Browse the repository at this point in the history
  • Loading branch information
unglaublicherdude committed Oct 8, 2024
1 parent bb24db1 commit 67ad6b1
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 17 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/ci-cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- "cpp*"
pull_request:
branches:
- main
- main
paths:
- "cpp/**"
- ".github/workflows/ci-cpp.yaml"
Expand Down Expand Up @@ -89,3 +89,12 @@ jobs:
run: |
./test.sh
working-directory: cpp

- name: Microsoft Teams Notification
uses: skitionek/notify-microsoft-teams@master
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: "Failed codeql on for VaaS-SDK vaas-cpp-ci"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}
4 changes: 2 additions & 2 deletions .github/workflows/ci-dotnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: '`Failed workflow on for VaaS-SDK ${GITHUB_WORKFLOW}`'
title: "`Failed workflow on for VaaS-SDK vaas-dotnet-ci`"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}
codeql:
Expand Down Expand Up @@ -166,6 +166,6 @@ jobs:
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: '`Failed codeql on for VaaS-SDK ${GITHUB_WORKFLOW}`'
title: "`Failed codeql on for VaaS-SDK vaas-dotnet-ci`"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}
13 changes: 11 additions & 2 deletions .github/workflows/ci-golang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: "`Failed workflow on for VaaS-SDK ${GITHUB_WORKFLOW}`"
title: "`Failed workflow on for VaaS-SDK vaas-golang-ci`"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}

Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: "`Failed workflow on for VaaS-SDK ${GITHUB_WORKFLOW}`"
title: "`Failed workflow on for VaaS-SDK vaas-golang-ci`"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}

Expand All @@ -181,3 +181,12 @@ jobs:
else
GOPROXY=proxy.golang.org go list -m github.com/GDATASoftwareAG/vaas/golang/vaas/${MAJOR_VERSION}@${GITHUB_REF#refs/tags/golang/vaas/}
fi
- name: Microsoft Teams Notification
uses: skitionek/notify-microsoft-teams@master
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: "`Failed workflow on for VaaS-SDK vaas-golang-ci`"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}
4 changes: 2 additions & 2 deletions .github/workflows/ci-java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ jobs:
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: "`Failed workflow on for VaaS-SDK ${GITHUB_WORKFLOW}`"
title: "`Failed workflow on for VaaS-SDK vaas-java-ci`"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}

Expand Down Expand Up @@ -186,6 +186,6 @@ jobs:
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: "`Failed codeql on for VaaS-SDK ${GITHUB_WORKFLOW}`"
title: "`Failed codeql on for VaaS-SDK vaas-java-ci`"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}
4 changes: 2 additions & 2 deletions .github/workflows/ci-php.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: "`Failed workflow on for VaaS-SDK ${GITHUB_WORKFLOW}`"
title: "`Failed workflow on for VaaS-SDK vaas-php-ci`"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}

Expand Down Expand Up @@ -162,6 +162,6 @@ jobs:
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: "`Failed codeql on for VaaS-SDK ${GITHUB_WORKFLOW}`"
title: "`Failed codeql on for VaaS-SDK vaas-php-ci`"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}
4 changes: 2 additions & 2 deletions .github/workflows/ci-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: "Failed workflow on for VaaS-SDK $GITHUB_WORKFLOW"
title: "Failed workflow on for VaaS-SDK vaas-python-ci"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}

Expand Down Expand Up @@ -161,6 +161,6 @@ jobs:
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: "Failed codeql on for VaaS-SDK $GITHUB_WORKFLOW"
title: "Failed codeql on for VaaS-SDK vaas-python-ci"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}
4 changes: 2 additions & 2 deletions .github/workflows/ci-ruby.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: "`Failed workflow on for VaaS-SDK ${GITHUB_WORKFLOW}`"
title: "`Failed workflow on for VaaS-SDK vaas-ruby-ci`"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}

Expand Down Expand Up @@ -179,6 +179,6 @@ jobs:
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: "`Failed codeql on for VaaS-SDK ${GITHUB_WORKFLOW}`"
title: "`Failed codeql on for VaaS-SDK vaas-ruby-ci`"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}
2 changes: 1 addition & 1 deletion .github/workflows/ci-rust-gscan-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ jobs:
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: "`Failed workflow on for VaaS-SDK ${GITHUB_WORKFLOW}`"
title: "`Failed workflow on for VaaS-SDK vaas-rust-ci`"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}
2 changes: 1 addition & 1 deletion .github/workflows/ci-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ jobs:
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: "`Failed workflow on for VaaS-SDK ${GITHUB_WORKFLOW}`"
title: "`Failed workflow on for VaaS-SDK vaas-rust-ci`"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}
4 changes: 2 additions & 2 deletions .github/workflows/ci-typescript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: "`Failed workflow on for VaaS-SDK ${GITHUB_WORKFLOW}`"
title: "`Failed workflow on for VaaS-SDK vaas-typescript-ci`"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}

Expand Down Expand Up @@ -175,6 +175,6 @@ jobs:
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
title: "`Failed codeql on for VaaS-SDK ${GITHUB_WORKFLOW}`"
title: "`Failed codeql on for VaaS-SDK vaas-typescript-ci`"
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}

0 comments on commit 67ad6b1

Please sign in to comment.