Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add zizmor to CI and fix findings#283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
hugovk wants to merge3 commits intopython:main
base:main
Choose a base branch
Loading
fromhugovk:zizmor
Open
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions.github/dependabot.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,3 +10,5 @@ updates:
actions:
patterns:
- "*"
cooldown:
default-days: 14
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Update window from (14, 44) -> (7, 37).

Suggested change
default-days:14
default-days:7

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I fine with either 7 or 14.

Greg wanted 14 inpython/cpython#141866 (comment),@gpshead which do you prefer here?

8 changes: 5 additions & 3 deletions.github/workflows/lint.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,18 +2,20 @@ name: Lint

on: [push, pull_request, workflow_dispatch]

permissions: {}

env:
FORCE_COLOR: 1

permissions:
contents: read
RUFF_OUTPUT_FORMAT: github

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: actions/setup-python@v6
with:
python-version: "3.x"
Expand Down
7 changes: 3 additions & 4 deletions.github/workflows/pypi-package.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,8 +8,7 @@ on:
- published
workflow_dispatch:

permissions:
contents: read
permissions: {}

env:
FORCE_COLOR: 1
Expand All@@ -22,6 +21,8 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: actions/setup-python@v6

- name: Compile translations
Expand DownExpand Up@@ -55,5 +56,3 @@ jobs:

- name: Upload package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
attestations: true
6 changes: 6 additions & 0 deletions.github/workflows/tests.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,6 +2,8 @@ name: Tests

on: [push, pull_request, workflow_dispatch]

permissions: {}

env:
FORCE_COLOR: 1

Expand All@@ -15,6 +17,8 @@ jobs:
branch: ["3.14", "3.13", "3.12"]
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.branch }}
Expand DownExpand Up@@ -60,6 +64,8 @@ jobs:
python-version: ["3.12", "3"]
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
Expand Down
10 changes: 10 additions & 0 deletions.github/zizmor.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
# Configuration for the zizmor static analysis tool, run via pre-commit in CI
# https://woodruffw.github.io/zizmor/configuration/
rules:
dangerous-triggers:
ignore:
- documentation-links.yml
unpinned-uses:
config:
policies:
"*": ref-pin
5 changes: 5 additions & 0 deletions.pre-commit-config.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,6 +32,11 @@ repos:
hooks:
- id: actionlint

- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v1.17.0
hooks:
- id: zizmor

- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.5.0
hooks:
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp