Skip to content

Commit 3b4ca8a

Browse files
authored
Merge pull request #7 from eugener/actions-security
Update workflow with permissions
2 parents b61ffa9 + 4971626 commit 3b4ca8a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: CI
2+
permissions:
3+
contents: read
4+
pull-requests: write
25

36
on:
47
push:

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: Release to crates.io
2+
permissions:
3+
contents: write
4+
pull-requests: write
25

36
on:
47
release:

0 commit comments

Comments
 (0)