Skip to content

Commit 7c96cfd

Browse files
committed
Clarify access rights
1 parent c820f5b commit 7c96cfd

File tree

5 files changed

+13
-1
lines changed

5 files changed

+13
-1
lines changed

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
pull_request:
1616
workflow_call: # a way to embed the main tests
1717

18+
permissions:
19+
contents: read
20+
1821
concurrency:
1922
group: >-
2023
${{

.github/workflows/pre-commit.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
name: Common issues check
44

5-
on: [pull_request]
5+
on:
6+
pull_request:
67

78
permissions:
89
contents: read

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
contents: write
2626
# for cycjimmy/semantic-release-action to write comments to issues
2727
issues: write
28+
# for cycjimmy/semantic-release-action to write comments to PRs
29+
pull-requests: write
2830

2931
name: Release
3032
runs-on: ubuntu-latest

.github/workflows/reusable-tox.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ on:
8383
description: Mandatory token for uploading to Codecov
8484
required: true
8585

86+
permissions:
87+
contents: read
88+
8689
env:
8790
COLOR: >- # Supposedly, pytest or coveragepy use this
8891
yes

.github/workflows/scheduled-runs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
- cron: 3 5 * * * # run daily at 5:03 UTC
1111
workflow_dispatch: # manual trigger
1212

13+
permissions:
14+
contents: read
15+
1316
run-name: >-
1417
🌃
1518
Nightly run of

0 commit comments

Comments
 (0)