-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from openziti-test-kitchen/update-build-notifier
update the build to go 1.19 and update the notifier
- Loading branch information
Showing
2 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,37 @@ | ||
name: mattermost-ziti-webhook | ||
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: | ||
mattermost-ziti-webhook: | ||
ziti-webhook: | ||
runs-on: ubuntu-latest | ||
name: POST Webhook | ||
name: Ziti Mattermost Action - Py | ||
steps: | ||
- uses: openziti/ziti-webhook-action@v2 | ||
- uses: openziti/ziti-mattermost-action-py@main | ||
if: ${{ env.ZHOOK_URL != null }} | ||
env: | ||
ZHOOK_URL: ${{ secrets.ZHOOK_URL }} | ||
with: | ||
ziti-id: ${{ secrets.ZITI_MATTERMOST_IDENTITY }} | ||
webhook-url: ${{ secrets.ZITI_MATTERMOST_WEBHOOK_URL }} | ||
webhook-secret: ${{ secrets.ZITI_MATTERMOST_WEBHOOK_SECRET }} | ||
# 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" |