diff --git a/.github/workflows/mattermost-channel-posts.yml b/.github/workflows/mattermost-channel-posts.yml index 0ab6351b6..05fcd6add 100644 --- a/.github/workflows/mattermost-channel-posts.yml +++ b/.github/workflows/mattermost-channel-posts.yml @@ -8,9 +8,14 @@ on: pull_request: types: [ opened, reopened, ready_for_review, closed ] fork: + push: + tags: + - '*' release: types: [ released ] workflow_dispatch: + watch: + types: [ started ] jobs: send-notifications: diff --git a/.github/workflows/mattermost-webhook.yml b/.github/workflows/mattermost-webhook.yml index e048ec00f..a214230f6 100644 --- a/.github/workflows/mattermost-webhook.yml +++ b/.github/workflows/mattermost-webhook.yml @@ -1,5 +1,5 @@ name: mattermost-ziti-webhook -on: +on: create: delete: issues: @@ -15,13 +15,14 @@ jobs: mattermost-ziti-webhook: runs-on: ubuntu-latest name: POST Webhook + if: github.actor != 'dependabot[bot]' env: ZITI_LOG: 99 ZITI_NODEJS_LOG: 99 steps: - - uses: openziti/ziti-webhook-action@main - with: - ziti-id: ${{ secrets.ZITI_MATTERMOST_IDENTITY }} - webhook-url: ${{ secrets.ZITI_MATTERMOST_WEBHOOK_URL }} - webhook-secret: ${{ secrets.ZITI_MATTERMOSTI_WEBHOOK_SECRET }} + - uses: openziti/ziti-webhook-action@main + with: + ziti-id: ${{ secrets.ZITI_MATTERMOST_IDENTITY }} + webhook-url: ${{ secrets.ZITI_MATTERMOST_WEBHOOK_URL }} + webhook-secret: ${{ secrets.ZITI_MATTERMOSTI_WEBHOOK_SECRET }}