Skip to content

Commit 259cf7d

Browse files
committed
add GH action permissions
1 parent c8efde8 commit 259cf7d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33

44
name: CI
55

6+
permissions: {}
7+
68
jobs:
79
ci:
810
name: Build and test

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ on:
33

44
name: Release to Maven Central
55

6+
permissions:
7+
contents: write
8+
actions: write
9+
610
jobs:
711
release:
812
name: Build and release

0 commit comments

Comments
 (0)