From 3835673dec0b60b4c4e19c42e96b0aa6741c85b4 Mon Sep 17 00:00:00 2001 From: Torleif Halseth Date: Thu, 14 Nov 2024 13:20:23 +0100 Subject: [PATCH] feat: :sparkles: set the slack url as optional and disable log to slack in a fork (#3681) --- .github/workflows/_setup.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_setup.yml b/.github/workflows/_setup.yml index 2f51427b18..e3af94511e 100644 --- a/.github/workflows/_setup.yml +++ b/.github/workflows/_setup.yml @@ -13,7 +13,7 @@ on: required: true secrets: SLACK_WEBHOOK_URL: - required: true + required: false outputs: tag: description: 'Package tag' @@ -99,4 +99,4 @@ jobs: with: status: ${{ job.status }} steps: ${{ toJson(steps) }} - if: failure() + if: ${{ github.event.pull_request.head.repo.fork }} = 'false' && failure()