workflows: fix nightly and release-vuln-check

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
This commit is contained in:
Stephan Renatus
2026-04-15 09:15:30 +02:00
committed by Stephan Renatus
parent e7ccaed26f
commit 159fe6b28d
2 changed files with 14 additions and 8 deletions
+10 -7
View File
@@ -7,6 +7,9 @@ on:
permissions:
contents: read
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
jobs:
race-detector:
name: Go Race Detector
@@ -22,7 +25,7 @@ jobs:
- name: Slack Notification
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
if: ${{ failure() && secrets.SLACK_WEBHOOK_URL != '' }} # zizmor: ignore[secrets-outside-env]
if: failure() && env.SLACK_WEBHOOK_URL != ''
with:
webhook: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }} # zizmor: ignore[secrets-outside-env]
webhook-type: incoming-webhook
@@ -58,7 +61,7 @@ jobs:
- name: Slack Notification
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
if: ${{ failure() && secrets.SLACK_WEBHOOK_URL != '' }} # zizmor: ignore[secrets-outside-env]
if: failure() && env.SLACK_WEBHOOK_URL != ''
with:
webhook: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }} # zizmor: ignore[secrets-outside-env]
webhook-type: incoming-webhook
@@ -84,7 +87,7 @@ jobs:
- name: Slack Notification
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
if: ${{ failure() && secrets.SLACK_WEBHOOK_URL != '' }} # zizmor: ignore[secrets-outside-env]
if: failure() && env.SLACK_WEBHOOK_URL != ''
with:
webhook: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }} # zizmor: ignore[secrets-outside-env]
webhook-type: incoming-webhook
@@ -113,7 +116,7 @@ jobs:
- name: Slack Notification
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
if: ${{ failure() && secrets.SLACK_WEBHOOK_URL != '' }} # zizmor: ignore[secrets-outside-env]
if: failure() && env.SLACK_WEBHOOK_URL != ''
with:
webhook: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }} # zizmor: ignore[secrets-outside-env]
webhook-type: incoming-webhook
@@ -182,7 +185,7 @@ jobs:
- name: Slack Notification
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
if: ${{ failure() && secrets.SLACK_WEBHOOK_URL != '' }} # zizmor: ignore[secrets-outside-env]
if: failure() && env.SLACK_WEBHOOK_URL != ''
with:
webhook: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }} # zizmor: ignore[secrets-outside-env]
webhook-type: incoming-webhook
@@ -246,7 +249,7 @@ jobs:
- name: Slack Notification
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
if: ${{ failure() && secrets.SLACK_WEBHOOK_URL != '' }} # zizmor: ignore[secrets-outside-env]
if: failure() && env.SLACK_WEBHOOK_URL != ''
with:
webhook: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }} # zizmor: ignore[secrets-outside-env]
webhook-type: incoming-webhook
@@ -295,7 +298,7 @@ jobs:
- name: Slack Notification
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
if: ${{ failure() && secrets.SLACK_WEBHOOK_URL != '' }} # zizmor: ignore[secrets-outside-env]
if: failure() && env.SLACK_WEBHOOK_URL != ''
with:
webhook: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }} # zizmor: ignore[secrets-outside-env]
webhook-type: incoming-webhook
@@ -7,6 +7,9 @@ on:
permissions:
contents: read
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
jobs:
fetch-release-info:
name: Fetch release information
@@ -49,7 +52,7 @@ jobs:
- name: Slack Notification
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
if: ${{ failure() && secrets.SLACK_WEBHOOK_URL != '' }} # zizmor: ignore[secrets-outside-env]
if: failure() && env.SLACK_WEBHOOK_URL != ''
with:
webhook: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }} # zizmor: ignore[secrets-outside-env]
webhook-type: incoming-webhook