Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- id: install-secret-key
name: Install GPG secret key
run: |
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
printf '%s' "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | gpg --batch --import
gpg --list-secret-keys --keyid-format LONG

- name: Set up JDK ${{ matrix.java-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
languages: java
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/_publish-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
workflow_call:
workflow_dispatch:

permissions:
security-events: write

jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -16,7 +19,7 @@ jobs:
- id: install-secret-key
name: Install GPG secret key
run: |
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
printf '%s' "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | gpg --batch --import
gpg --list-secret-keys --keyid-format LONG

- name: Set up JDK
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Delombok
run: |
LOMBOK_VERSION=$(mvn help:evaluate -Dexpression=org.projectlombok.version -q -DforceStdout)
java -jar ./target/dependency/lombok-$LOMBOK_VERSION.jar delombok src -d src-delomboked
java -jar ./target/dependency/lombok-"$LOMBOK_VERSION".jar delombok src -d src-delomboked
Comment thread
sebastianMindee marked this conversation as resolved.
mv src src-lomboked
mv src-delomboked src

Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/_workflow_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Lint workflows

on:
workflow_call:

permissions:
contents: read

jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download actionlint
id: get_actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
shell: bash
- name: Run actionlint
run: ${{ steps.get_actionlint.outputs.executable }} -color
shell: bash
Comment thread
sebastianMindee marked this conversation as resolved.
1 change: 1 addition & 0 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

permissions:
contents: read
actions: read

jobs:
codeql:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ permissions:
pull-requests: read

jobs:
workflow-lint:
uses: ./.github/workflows/_workflow_lint.yml
static_analysis:
uses: ./.github/workflows/_static-analysis.yml
needs: workflow-lint
build:
uses: ./.github/workflows/_build.yml
needs: static_analysis
Expand Down
Loading