Skip to content

Commit 33aa3e6

Browse files
fix again
1 parent c268ec2 commit 33aa3e6

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- id: install-secret-key
2828
name: Install GPG secret key
2929
run: |
30-
echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | gpg --batch --import
30+
printf '%s' "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | gpg --batch --import
3131
gpg --list-secret-keys --keyid-format LONG
3232
3333
- name: Set up JDK ${{ matrix.java-version }}

.github/workflows/_publish-code.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
workflow_call:
55
workflow_dispatch:
66

7+
permissions:
8+
security-events: write
9+
710
jobs:
811
publish:
912
runs-on: ubuntu-latest
@@ -16,7 +19,7 @@ jobs:
1619
- id: install-secret-key
1720
name: Install GPG secret key
1821
run: |
19-
echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | gpg --batch --import
22+
printf '%s' "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | gpg --batch --import
2023
gpg --list-secret-keys --keyid-format LONG
2124
2225
- name: Set up JDK

.github/workflows/cron.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
permissions:
88
contents: read
99
actions: read
10-
security-events: write
1110

1211
jobs:
1312
codeql:

0 commit comments

Comments
 (0)