Skip to content

Commit 87a710b

Browse files
committed
PYTHON-4541 Add attestations for Python Releases (mongodb#1746)
(cherry picked from commit afd0b6f)
1 parent 3000d8f commit 87a710b

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
@@ -64,14 +64,11 @@ repos:
6464
stages: [manual]
6565

6666
- repo: https://github.com/sirosen/check-jsonschema
67-
rev: 0.27.0
67+
rev: 0.29.0
6868
hooks:
69-
- id: check-jsonschema
70-
name: "Check GitHub Workflows"
71-
files: ^\.github/workflows/
72-
types: [yaml]
73-
args: ["--schemafile", "https://json.schemastore.org/github-workflow"]
74-
stages: [manual]
69+
- id: check-github-workflows
70+
- id: check-github-actions
71+
- id: check-dependabot
7572

7673
- repo: https://github.com/ariebovenberg/slotscheck
7774
rev: v0.17.0

0 commit comments

Comments
 (0)