Skip to content

Commit c5514d8

Browse files
authored
[github] Specify the scope of application of the token in the action. (#248)
1 parent 4d44f9c commit c5514d8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/elsa-compile.yml

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

1717
jobs:
1818
build:
19+
permissions:
20+
contents: read
1921
runs-on: ubuntu-latest
2022
steps:
2123
- uses: actions/checkout@v4

.github/workflows/framework-java-compile.yml

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

2323
jobs:
2424
build:
25+
permissions:
26+
contents: read
2527
runs-on: ubuntu-latest
2628
steps:
2729
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)