Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bestpractical/rt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Brandt <jbrandt@bestpractical.com>2022-08-22 15:46:49 +0300
committerJim Brandt <jbrandt@bestpractical.com>2022-08-22 15:46:49 +0300
commit596720497cbb805b7864d8267cef91b5eedda492 (patch)
tree7d999f6f58a8b75af326b351482930de6e3c3276
parent2867592b3fd43c9127d57a1d9ac4093df20f1dd3 (diff)
Restore the github actions always() for slack notifications
The always() is needed for slack notifications also or test failures are not reported. The previous setting was removed as part of adding the conditional to report to slack only when running in the bestpractical account in 8f5e4915.
-rw-r--r--.github/workflows/github-action.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/github-action.yml b/.github/workflows/github-action.yml
index e13bd3fcaf..f3d514c8bd 100644
--- a/.github/workflows/github-action.yml
+++ b/.github/workflows/github-action.yml
@@ -44,7 +44,7 @@ jobs:
export RT_GA_TEST_TIME=$(date -u -d @"$RT_GA_TEST_TIME" +"%T")
echo "RT_GA_TEST_TIME=$RT_GA_TEST_TIME" >> $GITHUB_ENV
- name: Post results to Slack
- if: ${{ github.repository_owner == 'bestpractical' }}
+ if: ${{ always() && github.repository_owner == 'bestpractical' }}
uses: edge/simple-slack-notify@v1.1.1
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NOTIFICATIONS }}
@@ -97,7 +97,7 @@ jobs:
export RT_GA_TEST_TIME=$(date -u -d @"$RT_GA_TEST_TIME" +"%T")
echo "RT_GA_TEST_TIME=$RT_GA_TEST_TIME" >> $GITHUB_ENV
- name: Post results to Slack
- if: ${{ github.repository_owner == 'bestpractical' }}
+ if: ${{ always() && github.repository_owner == 'bestpractical' }}
uses: edge/simple-slack-notify@v1.1.1
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NOTIFICATIONS }}
@@ -151,7 +151,7 @@ jobs:
export RT_GA_TEST_TIME=$(date -u -d @"$RT_GA_TEST_TIME" +"%T")
echo "RT_GA_TEST_TIME=$RT_GA_TEST_TIME" >> $GITHUB_ENV
- name: Post results to Slack
- if: ${{ github.repository_owner == 'bestpractical' }}
+ if: ${{ always() && github.repository_owner == 'bestpractical' }}
uses: edge/simple-slack-notify@v1.1.1
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NOTIFICATIONS }}