mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-13 03:42:35 -06:00
workflows: fix nightly and release-vuln-check
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
This commit is contained in:
committed by
Stephan Renatus
parent
e7ccaed26f
commit
159fe6b28d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user