diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 5547d0decda..582e845b0ff 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -9,7 +9,7 @@ jobs: steps: - name: 'Wait for status checks' id: waitforstatuschecks - uses: "WyriHaximus/github-action-wait-for-status@v1.5" + uses: "WyriHaximus/github-action-wait-for-status@v1.6" with: ignoreActions: Automerge Dependabot,Code coverage,Create snapcraft image,Deploy binaries on builds.jabref.org,codecov/project,markdown-link-check checkInterval: 13 diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index c9b777f82a1..121fb51d795 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -22,6 +22,7 @@ env: SpringerNatureAPIKey: ${{ secrets.SpringerNatureAPIKey }} AstrophysicsDataSystemAPIKey: ${{ secrets.AstrophysicsDataSystemAPIKey }} IEEEAPIKey: ${{ secrets.IEEEAPIKey }} + BiodiversityHeritageApiKey: ${{ secrets.BiodiversityHeritageApiKey}} OSXCERT: ${{ secrets.OSX_SIGNING_CERT }} GRADLE_OPTS: -Xmx4g -Dorg.gradle.daemon=false -Dorg.gradle.vfs.watch=false JAVA_OPTS: -Xmx4g @@ -64,7 +65,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 18 distribution: 'temurin' cache: 'gradle' - name: Setup OSX key chain on OSX diff --git a/.github/workflows/refresh-csl-subtrees.yml b/.github/workflows/refresh-csl-subtrees.yml index 8a1b647b0a6..85aad208e7e 100644 --- a/.github/workflows/refresh-csl-subtrees.yml +++ b/.github/workflows/refresh-csl-subtrees.yml @@ -6,6 +6,9 @@ on: - cron: '1 2 1,15 * *' workflow_dispatch: +permissions: + contents: read + jobs: publish: name: Refresh Citation Style Language Files diff --git a/.github/workflows/refresh-journal-lists.yml b/.github/workflows/refresh-journal-lists.yml index 87b09f81785..d975875963a 100644 --- a/.github/workflows/refresh-journal-lists.yml +++ b/.github/workflows/refresh-journal-lists.yml @@ -4,8 +4,14 @@ on: workflow_dispatch: # Allow to run manually +permissions: + contents: read + jobs: publish: + permissions: + contents: write # for peter-evans/create-pull-request to create branch + pull-requests: write # for peter-evans/create-pull-request to create a PR name: Refresh Journal List Files runs-on: ubuntu-latest steps: @@ -18,7 +24,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 18 distribution: 'temurin' cache: 'gradle' - name: Update journal lists diff --git a/.github/workflows/tests-fetchers.yml b/.github/workflows/tests-fetchers.yml index ebc3ac6ada6..8bf681fb7cc 100644 --- a/.github/workflows/tests-fetchers.yml +++ b/.github/workflows/tests-fetchers.yml @@ -26,11 +26,15 @@ env: SpringerNatureAPIKey: ${{ secrets.SPRINGERNATUREAPIKEY_FOR_TESTS }} AstrophysicsDataSystemAPIKey: ${{ secrets.AstrophysicsDataSystemAPIKey_FOR_TESTS }} IEEEAPIKey: ${{ secrets.IEEEAPIKey_FOR_TESTS }} + BiodiversityHeritageApiKey: ${{ secrets.BiodiversityHeritageApiKey_FOR_TESTS}} concurrency: group: fetcher-tests-${{ github.head_ref }} cancel-in-progress: true +permissions: + contents: read + jobs: fetchertests: name: Fetcher tests @@ -41,7 +45,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 18 distribution: 'temurin' cache: 'gradle' - name: Run fetcher tests diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d057c72964d..e44b50251e1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,6 +13,7 @@ env: SpringerNatureAPIKey: ${{ secrets.SpringerNatureAPIKey }} AstrophysicsDataSystemAPIKey: ${{ secrets.AstrophysicsDataSystemAPIKey }} IEEEAPIKey: ${{ secrets.IEEEAPIKey }} + BiodiversityHeritageApiKey: ${{ secrets.BiodiversityHeritageApiKey}} GRADLE_OPTS: -Xmx4g JAVA_OPTS: -Xmx4g @@ -30,7 +31,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 18 distribution: 'temurin' cache: 'gradle' - name: Run check style reporter @@ -55,7 +56,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 18 distribution: 'temurin' cache: 'gradle' - name: Run tests @@ -87,7 +88,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 18 distribution: 'temurin' cache: 'gradle' - name: Run tests on PostgreSQL @@ -121,7 +122,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 18 distribution: 'temurin' cache: 'gradle' - name: Run GUI tests @@ -159,7 +160,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 18 distribution: 'temurin' cache: 'gradle' - name: Update test coverage metrics diff --git a/.idea/runConfigurations/JabRef_Main.xml b/.idea/runConfigurations/JabRef_Main.xml index a588730b31a..731578b5c75 100644 --- a/.idea/runConfigurations/JabRef_Main.xml +++ b/.idea/runConfigurations/JabRef_Main.xml @@ -2,7 +2,7 @@