Skip to content

Commit

Permalink
Update mattermost actions
Browse files Browse the repository at this point in the history
  • Loading branch information
plorenz committed Dec 2, 2022
1 parent eaf6d66 commit de42db9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/mattermost-channel-posts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/mattermost-webhook.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: mattermost-ziti-webhook
on:
on:
create:
delete:
issues:
Expand All @@ -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 }}

0 comments on commit de42db9

Please sign in to comment.