From 6749ab4de22a9b1e5af31e6d51b975d4e813deae Mon Sep 17 00:00:00 2001 From: Aaron Steers Date: Thu, 21 Sep 2023 15:46:12 -0700 Subject: [PATCH] fix success flag condition --- .github/workflows/publish-java-cdk-command.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-java-cdk-command.yml b/.github/workflows/publish-java-cdk-command.yml index a32b0962973e..33fcad4d6a7e 100644 --- a/.github/workflows/publish-java-cdk-command.yml +++ b/.github/workflows/publish-java-cdk-command.yml @@ -164,7 +164,7 @@ jobs: env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN_AIRBYTE_TEAM }} - name: "Post success to Slack channel `#dev-connectors-extensibility-releases`" - if: ${{ failure() }} + if: ${{ !failure() }} uses: slackapi/slack-github-action@v1.23.0 continue-on-error: true with: