Skip to content

Commit 6b3ea1b

Browse files
authored
Move permissions to the top level in workflow
Signed-off-by: Eric Deandrea <[email protected]>
1 parent b0595b8 commit 6b3ea1b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/version-tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,16 @@ defaults:
4848
run:
4949
shell: bash
5050

51+
permissions:
52+
actions: read
53+
contents: write
54+
issues: write
55+
pull-requests: write
56+
5157
jobs:
5258
versions-tests:
5359
runs-on: ubuntu-latest
5460
if: github.repository == 'docling-project/docling-java'
55-
permissions:
56-
actions: read
57-
contents: write
58-
issues: write
59-
pull-requests: write
6061
steps:
6162
- uses: actions/checkout@v5
6263

0 commit comments

Comments
 (0)