Generated by Spark: Just log and skip if not set: Warning: Unexpected input(s) 'webhook_url', valid inputs are ['status', 'fields', 'custom_payload', 'mention', 'if_mention', 'author_name', 'text', 'username', 'icon_emoji', 'icon_url', 'channel', 'job_name', 'success_message', 'cancelled_message', 'failure_message', 'github_token', 'github_base_url']

Run 8398a7/action-slack@v3
Error: Specify secrets.SLACK_WEBHOOK_URL
This commit is contained in:
2026-01-17 14:11:42 +00:00
committed by GitHub
parent 3df37b038d
commit e20f401492

View File

@@ -233,11 +233,10 @@ jobs:
- name: Notify deployment
uses: 8398a7/action-slack@v3
if: always()
if: always() && secrets.SLACK_WEBHOOK != ''
with:
status: ${{ job.status }}
text: 'Staging deployment ${{ job.status }}'
webhook_url: ${{ secrets.SLACK_WEBHOOK }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
@@ -259,10 +258,9 @@ jobs:
- name: Notify deployment
uses: 8398a7/action-slack@v3
if: always()
if: always() && secrets.SLACK_WEBHOOK != ''
with:
status: ${{ job.status }}
text: 'Production deployment ${{ job.status }}'
webhook_url: ${{ secrets.SLACK_WEBHOOK }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}