Skip to content

Commit 62328bb

Browse files
committed
more CI cleanup
1 parent 0c72f52 commit 62328bb

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed

.github/workflows/conformance.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
workflow_dispatch:
88
pull_request:
99

10+
permissions: {}
11+
1012
jobs:
1113
conformance:
1214
runs-on: ubuntu-latest

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches:
66
- main
77

8+
permissions: {}
9+
810
jobs:
911
build:
1012
runs-on: ubuntu-latest

.github/workflows/lint.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- main
77
pull_request:
88

9+
permissions: {}
10+
911
jobs:
1012
lint:
1113
runs-on: ubuntu-latest
@@ -87,10 +89,10 @@ jobs:
8789
if: always()
8890

8991
needs:
90-
- lint
91-
- check-readme
92-
- licenses
93-
- x509-testcases
92+
- lint
93+
- check-readme
94+
- licenses
95+
- x509-testcases
9496

9597
runs-on: ubuntu-latest
9698

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ on:
55
types:
66
- published
77

8-
permissions: # added using https://github.com/step-security/secure-workflows
9-
contents: read
8+
permissions: {}
109

1110
jobs:
1211
build:
@@ -99,7 +98,7 @@ jobs:
9998
- name: Generate build provenance
10099
uses: actions/attest-build-provenance@v2
101100
with:
102-
subject-path: 'built-packages/*'
101+
subject-path: "built-packages/*"
103102

104103
release-pypi:
105104
needs: [build, generate-provenance]

.github/workflows/requirements.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ on:
1212
required: true
1313
pull_request:
1414
schedule:
15-
- cron: '0 12 * * *'
15+
- cron: "0 12 * * *"
16+
17+
permissions: {}
1618

1719
jobs:
1820
test_requirements:

.github/workflows/staging-tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ on:
55
branches:
66
- main
77
schedule:
8-
- cron: '0 */8 * * *'
8+
- cron: "0 */8 * * *"
9+
10+
permissions: {}
911

1012
jobs:
1113
staging-tests:
@@ -27,7 +29,6 @@ jobs:
2729
cache: "pip"
2830
cache-dependency-path: pyproject.toml
2931

30-
3132
- name: staging tests
3233
env:
3334
SIGSTORE_LOGLEVEL: DEBUG

0 commit comments

Comments
 (0)