mirror of
https://github.com/astral-sh/ruff.git
synced 2025-12-23 09:19:39 +00:00
Upgrade zizmor to the latest version in CI (#15649)
This commit is contained in:
parent
bb6fb4686d
commit
05abd642a8
4 changed files with 12 additions and 1 deletions
2
.github/workflows/build-binaries.yml
vendored
2
.github/workflows/build-binaries.yml
vendored
|
|
@ -23,6 +23,8 @@ concurrency:
|
|||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions: {}
|
||||
|
||||
env:
|
||||
PACKAGE_NAME: ruff
|
||||
MODULE_NAME: ruff
|
||||
|
|
|
|||
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
|
@ -1,5 +1,7 @@
|
|||
name: CI
|
||||
|
||||
permissions: {}
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
|
|
|||
7
.github/zizmor.yml
vendored
7
.github/zizmor.yml
vendored
|
|
@ -10,3 +10,10 @@ rules:
|
|||
ignore:
|
||||
- build-docker.yml
|
||||
- publish-playground.yml
|
||||
excessive-permissions:
|
||||
# it's hard to test what the impact of removing these ignores would be
|
||||
# without actually running the release workflow...
|
||||
ignore:
|
||||
- build-docker.yml
|
||||
- publish-playground.yml
|
||||
- publish-docs.yml
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ repos:
|
|||
# zizmor detects security vulnerabilities in GitHub Actions workflows.
|
||||
# Additional configuration for the tool is found in `.github/zizmor.yml`
|
||||
- repo: https://github.com/woodruffw/zizmor-pre-commit
|
||||
rev: v1.1.1
|
||||
rev: v1.2.2
|
||||
hooks:
|
||||
- id: zizmor
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue