Skip to content

Bump brace-expansion and jsdoc-to-markdown #1241

Bump brace-expansion and jsdoc-to-markdown

Bump brace-expansion and jsdoc-to-markdown #1241

name: ziti-mattermost-action-py
on:
issues:
issue_comment:
pull_request_review:
types: [submitted]
pull_request_review_comment:
pull_request:
types: [opened, reopened]
push:
fork:
release:
types: [released]
permissions:
contents: read
jobs:
ziti-webhook:
continue-on-error: true
runs-on: ubuntu-latest
name: Ziti Mattermost Action - Py
env:
ZITI_ID: ${{ secrets.ZITI_MATTERMOST_IDENTITY }}
steps:
- uses: openziti/ziti-mattermost-action-py@v1
if: github.event_name != 'pull_request_review' && env.ZITI_ID != ''
with:
zitiId: ${{ secrets.ZITI_MATTERMOST_IDENTITY }}
webhookUrl: ${{ secrets.ZHOOK_URL_DEV_NOTIFICATIONS }}
eventJson: ${{ toJson(github.event) }}
senderUsername: "GitHubZ"
- uses: openziti/ziti-mattermost-action-py@v1
if: github.event_name == 'pull_request_review' && github.event.review.state == 'approved' && env.ZITI_ID != ''
with:
zitiId: ${{ secrets.ZITI_MATTERMOST_IDENTITY }}
webhookUrl: ${{ secrets.ZHOOK_URL_DEV_NOTIFICATIONS }}
eventJson: ${{ toJson(github.event) }}
senderUsername: "GitHubZ"