Skip to content

Commit afd0b6f

Browse files
authored
PYTHON-4541 Add attestations for Python Releases (#1746)
1 parent 0f5349e commit afd0b6f

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/release-python.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
permissions:
7373
id-token: write
7474
contents: write
75+
attestations: write
7576
security-events: write
7677
steps:
7778
- uses: mongodb-labs/drivers-github-tools/secure-checkout@v2

.pre-commit-config.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,11 @@ repos:
7575
stages: [manual]
7676

7777
- repo: https://github.com/sirosen/check-jsonschema
78-
rev: 0.27.0
78+
rev: 0.29.0
7979
hooks:
80-
- id: check-jsonschema
81-
name: "Check GitHub Workflows"
82-
files: ^\.github/workflows/
83-
types: [yaml]
84-
args: ["--schemafile", "https://json.schemastore.org/github-workflow"]
85-
stages: [manual]
80+
- id: check-github-workflows
81+
- id: check-github-actions
82+
- id: check-dependabot
8683

8784
- repo: https://github.com/ariebovenberg/slotscheck
8885
rev: v0.19.0

0 commit comments

Comments
 (0)