Skip to content

Commit 1165517

Browse files
committed
Resolve smokeshow.yml
1 parent f1789f7 commit 1165517

3 files changed

Lines changed: 32 additions & 3 deletions

File tree

.github/workflows/smokeshow.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name: Smokeshow
22

33
on:
4-
workflow_run:
4+
workflow_run: # zizmor: ignore[dangerous-triggers]
55
workflows: [Test Backend]
66
types: [completed]
77

8+
permissions: {}
9+
810
jobs:
911
smokeshow:
1012
runs-on: ubuntu-latest
@@ -14,10 +16,19 @@ jobs:
1416

1517
steps:
1618
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19+
with:
20+
persist-credentials: false
1721
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
1822
with:
1923
python-version: "3.13"
20-
- run: pip install smokeshow
24+
- name: Setup uv
25+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
26+
with:
27+
version: "0.11.4"
28+
cache-dependency-glob: |
29+
pyproject.toml
30+
uv.lock
31+
- run: uv sync --all-packages --no-dev --group github-actions
2132
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
2233
with:
2334
name: coverage-html
@@ -31,4 +42,4 @@ jobs:
3142
SMOKESHOW_GITHUB_CONTEXT: coverage
3243
SMOKESHOW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3344
SMOKESHOW_GITHUB_PR_HEAD_SHA: ${{ github.event.workflow_run.head_sha }}
34-
SMOKESHOW_AUTH_KEY: ${{ secrets.SMOKESHOW_AUTH_KEY }}
45+
SMOKESHOW_AUTH_KEY: ${{ secrets.SMOKESHOW_AUTH_KEY }} # zizmor: ignore[secrets-outside-env]

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ members = ["backend"]
55
dev = [
66
"zizmor>=1.23.1",
77
]
8+
9+
github-actions = [
10+
"smokeshow >=0.5.0",
11+
]

uv.lock

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)