Skip to content

Commit a8cc813

Browse files
authored
Merge pull request #15 from openziti/issue-14-debug-silent-fail
pin SDK Py version for the time being
2 parents 63b41c0 + 47149d5 commit a8cc813

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

.github/workflows/zhook.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@ jobs:
2020
runs-on: ubuntu-latest
2121
name: POST Webhook
2222
steps:
23-
- uses: openziti/ziti-mattermost-action-py@main
24-
if: |
25-
github.repository_owner == 'openziti'
26-
&& ((github.event_name != 'pull_request_review')
27-
|| (github.event_name == 'pull_request_review' && github.event.review.state == 'approved'))
28-
with:
29-
zitiId: ${{ secrets.ZITI_MATTERMOST_IDENTITY }}
30-
webhookUrl: ${{ secrets.ZHOOK_URL }}
31-
eventJson: ${{ toJson(github.event) }}
32-
senderUsername: "GitHubZ"
33-
destChannel: "dev-notifications"
23+
- uses: actions/checkout@v1
24+
- uses: ./ # use self to bring the pain forward
25+
if: |
26+
github.repository_owner == 'openziti'
27+
&& ((github.event_name != 'pull_request_review')
28+
|| (github.event_name == 'pull_request_review' && github.event.review.state == 'approved'))
29+
with:
30+
zitiId: ${{ secrets.ZITI_MATTERMOST_IDENTITY }}
31+
webhookUrl: ${{ secrets.ZHOOK_URL }}
32+
eventJson: ${{ toJson(github.event) }}
33+
senderUsername: "GitHubZ"
34+
destChannel: "dev-notifications"

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM python:3-slim AS builder
22
ADD . /app
33
WORKDIR /app
44

5-
RUN pip install --target=/app requests openziti
5+
RUN pip install --target=/app requests openziti==0.7.2
66

77
# https://github.com/GoogleContainerTools/distroless
88
FROM gcr.io/distroless/python3-debian10

0 commit comments

Comments
 (0)