Skip to content

Commit 47149d5

Browse files
committed
pin the version of openziti PyPi package for now
1 parent fb1a4f6 commit 47149d5

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
@@ -18,14 +18,15 @@ jobs:
1818
runs-on: ubuntu-latest
1919
name: POST Webhook
2020
steps:
21-
- uses: openziti/ziti-mattermost-action-py@main
22-
if: |
23-
github.repository_owner == 'openziti'
24-
&& ((github.event_name != 'pull_request_review')
25-
|| (github.event_name == 'pull_request_review' && github.event.review.state == 'approved'))
26-
with:
27-
zitiId: ${{ secrets.ZITI_MATTERMOST_IDENTITY }}
28-
webhookUrl: ${{ secrets.ZHOOK_URL }}
29-
eventJson: ${{ toJson(github.event) }}
30-
senderUsername: "GitHubZ"
31-
destChannel: "dev-notifications"
21+
- uses: actions/checkout@v1
22+
- uses: ./ # use self to bring the pain forward
23+
if: |
24+
github.repository_owner == 'openziti'
25+
&& ((github.event_name != 'pull_request_review')
26+
|| (github.event_name == 'pull_request_review' && github.event.review.state == 'approved'))
27+
with:
28+
zitiId: ${{ secrets.ZITI_MATTERMOST_IDENTITY }}
29+
webhookUrl: ${{ secrets.ZHOOK_URL }}
30+
eventJson: ${{ toJson(github.event) }}
31+
senderUsername: "GitHubZ"
32+
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)