From 8a644b2525e783e6389d4ce9653007f91028539f Mon Sep 17 00:00:00 2001 From: Ivan Lee Date: Thu, 29 Sep 2022 05:38:14 -0400 Subject: [PATCH] Try (again) to not send Slack messages on forks. --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index fcf6f8af..86e7bd9f 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -41,7 +41,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.github_slack_token }} SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook }} - if: ${{ github.event.pull_request.head.repo.full_name != 'Unleash/unleash-client-python' }} && (success() || failure()) + if: ${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }} && (success() || failure()) tox: runs-on: ubuntu-latest