Skip to content

Commit

Permalink
Merge pull request #3463 from bdarnell/actions
Browse files Browse the repository at this point in the history
ci: Analyze github action configs with zizmor
  • Loading branch information
bdarnell authored Feb 21, 2025
2 parents 0ab655e + d564583 commit 641f0c2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ on:
workflow_dispatch:
# Allow this workflow to be run manually (pushing to testpypi instead of pypi)

permissions: {}

env:
python-version: '3.9'

Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ name: Test

on: pull_request

permissions: {}

jobs:
# Before starting the full build matrix, run one test configuration
# and the linter (the `black` linter is especially likely to catch
Expand Down Expand Up @@ -103,3 +105,15 @@ jobs:
- name: Run test suite
# TODO: figure out what's up with these log messages
run: py -m tornado.test --fail-if-logs=false

zizmor:
name: Analyze action configs with zizmor
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: astral-sh/setup-uv@v5
name: Install uv
- name: Run zizmor
run: uvx zizmor .github/workflows

0 comments on commit 641f0c2

Please sign in to comment.