[229-browZer-bootstrapper] cleanups & finalizings #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ziti-mattermost-action-py | |
on: | |
create: | |
delete: | |
issues: | |
issue_comment: | |
pull_request_review: | |
types: [submitted] | |
pull_request_review_comment: | |
pull_request: | |
types: [opened, reopened] | |
push: | |
fork: | |
release: | |
types: [released] | |
workflow_dispatch: | |
jobs: | |
ziti-webhook: | |
runs-on: ubuntu-latest | |
name: Ziti Mattermost Action - Py | |
steps: | |
- uses: openziti/ziti-mattermost-action-py@main | |
if: ${{ env.ZHOOK_URL != null }} | |
env: | |
ZHOOK_URL: ${{ secrets.ZHOOK_URL }} | |
with: | |
# Identity JSON containing key to access a Ziti network | |
zitiId: ${{ secrets.ZITI_MATTERMOST_IDENTITY }} | |
# URL to post the payload. Note that the `zitiId` must provide access to a service | |
# intercepting `my-mattermost-ziti-server` | |
webhookUrl: ${{ secrets.ZHOOK_URL }} | |
eventJson: ${{ toJson(github.event) }} | |
senderUsername: "GitHubZ" | |
destChannel: "dev-notifications" |