Skip to content

Commit 695743d

Browse files
committed
Address review
1 parent 2234fd7 commit 695743d

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616
with:
17-
persist-credentials: false
17+
persist-credentials: true # needed to push tags
1818
- uses: actions/setup-python@v5
1919
with:
2020
python-version: '3.11'

.github/workflows/mypy_primer.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ jobs:
104104
name: Call mypy_primer_comment workflow
105105
needs: [join_artifacts]
106106
permissions:
107-
contents: read
108107
pull-requests: write
109108
uses: ./.github/workflows/mypy_primer_comment.yml
110109
with:

.github/workflows/sync_typeshed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
21-
persist-credentials: true # needed to `git push` the typeshed
21+
persist-credentials: true # needed to `git push` the PR branch
2222
# TODO: use whatever solution ends up working for
2323
# https://github.com/python/typeshed/issues/8434
2424
- uses: actions/setup-python@v5

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ repos:
2828
-ignore=property "allow_failure" is not defined,
2929
-ignore=SC2(046|086),
3030
]
31+
additional_dependencies:
32+
# actionlint has a shellcheck integration which extracts shell scripts in `run:` steps from GitHub Actions
33+
# and checks these with shellcheck. This is arguably its most useful feature,
34+
# but the integration only works if shellcheck is installed
35+
- "github.com/wasilibs/go-shellcheck/cmd/[email protected]"
3136
- repo: https://github.com/woodruffw/zizmor-pre-commit
3237
rev: v1.0.0
3338
hooks:

0 commit comments

Comments
 (0)