From e20f4014924596097324d7f8575ebb0451c02d4f Mon Sep 17 00:00:00 2001 From: johndoe6345789 Date: Sat, 17 Jan 2026 14:11:42 +0000 Subject: [PATCH] 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 --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 972bdc4..aa0b55d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}