mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
fix nightly.yaml by moving secret to env (#8381)
Signed-off-by: Sebastian Spaink <sebastianspaink@gmail.com>
This commit is contained in:
@@ -22,7 +22,9 @@ jobs:
|
||||
|
||||
- name: Slack Notification
|
||||
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
|
||||
if: ${{ failure() && secrets.SLACK_NOTIFICATION_WEBHOOK != '' }}
|
||||
env:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
|
||||
if: ${{ failure() && env.SLACK_WEBHOOK_URL != '' }}
|
||||
with:
|
||||
webhook: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
|
||||
webhook-type: incoming-webhook
|
||||
@@ -58,7 +60,9 @@ jobs:
|
||||
|
||||
- name: Slack Notification
|
||||
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
|
||||
if: ${{ failure() && secrets.SLACK_NOTIFICATION_WEBHOOK != '' }}
|
||||
env:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
|
||||
if: ${{ failure() && env.SLACK_WEBHOOK_URL != '' }}
|
||||
with:
|
||||
webhook: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
|
||||
webhook-type: incoming-webhook
|
||||
@@ -84,7 +88,9 @@ jobs:
|
||||
|
||||
- name: Slack Notification
|
||||
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
|
||||
if: ${{ failure() && secrets.SLACK_NOTIFICATION_WEBHOOK != '' }}
|
||||
env:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
|
||||
if: ${{ failure() && env.SLACK_WEBHOOK_URL != '' }}
|
||||
with:
|
||||
webhook: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
|
||||
webhook-type: incoming-webhook
|
||||
@@ -120,7 +126,9 @@ jobs:
|
||||
|
||||
- name: Slack Notification
|
||||
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
|
||||
if: ${{ failure() && secrets.SLACK_NOTIFICATION_WEBHOOK != '' }}
|
||||
env:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
|
||||
if: ${{ failure() && env.SLACK_WEBHOOK_URL != '' }}
|
||||
with:
|
||||
webhook: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
|
||||
webhook-type: incoming-webhook
|
||||
@@ -154,7 +162,9 @@ jobs:
|
||||
|
||||
- name: Slack Notification
|
||||
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
|
||||
if: ${{ failure() && secrets.SLACK_NOTIFICATION_WEBHOOK != '' }}
|
||||
env:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
|
||||
if: ${{ failure() && env.SLACK_WEBHOOK_URL != '' }}
|
||||
with:
|
||||
webhook: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
|
||||
webhook-type: incoming-webhook
|
||||
@@ -184,7 +194,9 @@ jobs:
|
||||
|
||||
- name: Slack Notification
|
||||
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
|
||||
if: ${{ failure() && secrets.SLACK_NOTIFICATION_WEBHOOK != '' }}
|
||||
env:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
|
||||
if: ${{ failure() && env.SLACK_WEBHOOK_URL != '' }}
|
||||
with:
|
||||
webhook: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
|
||||
webhook-type: incoming-webhook
|
||||
@@ -233,7 +245,9 @@ jobs:
|
||||
|
||||
- name: Slack Notification
|
||||
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
|
||||
if: ${{ failure() && secrets.SLACK_NOTIFICATION_WEBHOOK != '' }}
|
||||
env:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
|
||||
if: ${{ failure() && env.SLACK_WEBHOOK_URL != '' }}
|
||||
with:
|
||||
webhook: ${{ secrets.SLACK_NOTIFICATION_WEBHOOK }}
|
||||
webhook-type: incoming-webhook
|
||||
|
||||
Reference in New Issue
Block a user