Add the tags filter again and change the slack settings to match the st2 workspace
@@ -3,6 +3,8 @@ name: ci
on:
push:
branches: ['*']
+ tags:
+ - v*
pull_request:
type: [opened, reopened, edited]
schedule:
@@ -181,12 +183,12 @@ jobs:
# this step creates an environment variable WORKFLOW_CONCLUSION and is the most reliable way to check the status of previous jobs
uses: technote-space/workflow-conclusion-action@v2
- name: CI Run Failure Slack Notification
- if: ${{ env.WORKFLOW_CONCLUSION == 'failure' && github.ref == 'refs/pull/1/merge' }}
+ if: ${{ env.WORKFLOW_CONCLUSION == 'failure' && github.ref == 'refs/heads/master' }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
uses: 8398a7/action-slack@v3
with:
- channel: ghci-integration
+ channel: development
fields: repo,message,commit,author,action,workflow
status: failure
