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
5 changes: 3 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: auth0/auth0-java-mvc-common/build-and-test

on:
pull_request:
branches: ["master", "v2"]
merge_group:
push:
branches: ["master", "v1", "v2"]
branches: ["master"]

jobs:
gradle:
Expand All @@ -14,7 +15,7 @@ jobs:
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: ${{ (github.ref == 'refs/heads/v1' || github.base_ref == 'v1') && '8' || '17' }}
java-version: 17

- name: Set up Gradle
uses: gradle/actions/setup-gradle@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: "CodeQL"

on:
push:
branches: [ "master", "v1", "v2"]
branches: [ "master" ]
pull_request:
branches: [ "master", "v1" ]
branches: [ "master", "v2" ]
schedule:
- cron: "30 19 * * 6"

Expand All @@ -29,7 +29,7 @@ jobs:
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: ${{ (github.ref == 'refs/heads/v1' || github.base_ref == 'v1') && '8' || '17' }}
java-version: 17

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
rl-scanner:
uses: ./.github/workflows/rl-secure.yml
with:
java-version: ${{ (github.ref == 'refs/heads/v1' || github.base_ref == 'v1') && '8' || '17' }}
java-version: 17
artifact-name: "auth0-java-mvc-common.tgz"
secrets:
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
Expand All @@ -32,7 +32,7 @@ jobs:
uses: ./.github/workflows/java-release.yml
needs: rl-scanner
with:
java-version: ${{ (github.ref == 'refs/heads/v1' || github.base_ref == 'v1') && '8' || '17' }}
java-version: 17
secrets:
ossr-username: ${{ secrets.OSSR_USERNAME }}
ossr-token: ${{ secrets.OSSR_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sca_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: SCA

on:
push:
branches: ["master", "v1", "v2"]
branches: ["master"]
pull_request:
branches: ["master", "v1", "v2"]
branches: ["master", "v2"]

jobs:
snyk-cli:
uses: auth0/devsecops-tooling/.github/workflows/sca-scan.yml@main
with:
additional-arguments: "--exclude=README.md"
java-version: ${{ (github.ref == 'refs/heads/v1' || github.base_ref == 'v1') && '8' || '17' }}
java-version: "17"
secrets: inherit
Loading