Skip to content

Commit ef35c71

Browse files
authored
Add permissions to workflows (#33)
1 parent c5eb8e2 commit ef35c71

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/check.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ concurrency:
1212
group: check-${{ github.ref }}
1313
cancel-in-progress: true
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
test:
1720
runs-on: ubuntu-latest

.github/workflows/release.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
push:
44
tags: ["*"]
55

6+
permissions:
7+
contents: read
8+
69
env:
710
dists-artifact-name: python-package-distributions
811

0 commit comments

Comments
 (0)