File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -154,13 +154,17 @@ jobs:
154154 # Combine test reports and report to Slack channel
155155 - name : Combine test reports
156156 # Skip this step for forks
157- if : ${{ github.repository_owner == 'galasa-dev' }}
157+ # Only report results if this workflow was called from
158+ # a regression run as Main builds run multiple times a day.
159+ if : ${{ github.repository_owner == 'galasa-dev' && github.event_name 'workflow_dispatch' }}
158160 run : |
159161 jq -s '{ tests: map(.tests[]) }' ${{ github.workspace }}/.galasa/temp/test-1.json ${{ github.workspace }}/.galasa/temp/test-2.json ${{ github.workspace }}/.galasa/temp/test-3.json > ${{ github.workspace }}/.galasa/temp/tests.json
160162
161163 - name : Report results into Slack channel
162- # Skip this step for forks
163- if : ${{ github.repository_owner == 'galasa-dev' }}
164+ # Skip this step for forks.
165+ # Only report results if this workflow was called from
166+ # a regression run as Main builds run multiple times a day.
167+ if : ${{ github.repository_owner == 'galasa-dev' && github.event_name 'workflow_dispatch' }}
164168 env :
165169 SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
166170 run : |
You can’t perform that action at this time.
0 commit comments