Skip to content

Commit 75e1df6

Browse files
committed
OPENNLP-1689 - Update GH actions with ASF #builds security recommendations
1 parent 784018f commit 75e1df6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040

4141
steps:
4242
- uses: actions/checkout@v4
43+
with:
44+
persist-credentials: false
4345
- uses: actions/cache@v4
4446
with:
4547
path: ~/.m2/repository

.github/workflows/publish-snapshots.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
steps:
3232
- name: Checkout
3333
uses: actions/checkout@v4
34+
with:
35+
persist-credentials: false
3436
- name: Cache Maven Repository
3537
uses: actions/cache@v4
3638
with:

0 commit comments

Comments
 (0)