File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ name: auth0/auth0-java-mvc-common/build-and-test
22
33on :
44 pull_request :
5+ branches : ["master", "v2"]
56 merge_group :
67 push :
7- branches : ["master", "v1", "v2" ]
8+ branches : ["master"]
89
910jobs :
1011 gradle :
1415 - uses : actions/setup-java@v5
1516 with :
1617 distribution : temurin
17- java-version : ${{ (github.ref == 'refs/heads/v1' || github.base_ref == 'v1') && '8' || '17' }}
18+ java-version : 17
1819
1920 - name : Set up Gradle
2021 uses : gradle/actions/setup-gradle@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: "CodeQL"
22
33on :
44 push :
5- branches : [ "master", "v1", "v2" ]
5+ branches : [ "master" ]
66 pull_request :
7- branches : [ "master", "v1 " ]
7+ branches : [ "master", "v2 " ]
88 schedule :
99 - cron : " 30 19 * * 6"
1010
2929 - uses : actions/setup-java@v5
3030 with :
3131 distribution : temurin
32- java-version : ${{ (github.ref == 'refs/heads/v1' || github.base_ref == 'v1') && '8' || '17' }}
32+ java-version : 17
3333
3434 - name : Initialize CodeQL
3535 uses : github/codeql-action/init@v4
Original file line number Diff line number Diff line change 1818 rl-scanner :
1919 uses : ./.github/workflows/rl-secure.yml
2020 with :
21- java-version : ${{ (github.ref == 'refs/heads/v1' || github.base_ref == 'v1') && '8' || '17' }}
21+ java-version : 17
2222 artifact-name : " auth0-java-mvc-common.tgz"
2323 secrets :
2424 RLSECURE_LICENSE : ${{ secrets.RLSECURE_LICENSE }}
3232 uses : ./.github/workflows/java-release.yml
3333 needs : rl-scanner
3434 with :
35- java-version : ${{ (github.ref == 'refs/heads/v1' || github.base_ref == 'v1') && '8' || '17' }}
35+ java-version : 17
3636 secrets :
3737 ossr-username : ${{ secrets.OSSR_USERNAME }}
3838 ossr-token : ${{ secrets.OSSR_TOKEN }}
Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ name: SCA
22
33on :
44 push :
5- branches : ["master", "v1", "v2" ]
5+ branches : ["master"]
66 pull_request :
7- branches : ["master", "v1", " v2"]
7+ branches : ["master", "v2"]
88
99jobs :
1010 snyk-cli :
1111 uses : auth0/devsecops-tooling/.github/workflows/sca-scan.yml@main
1212 with :
1313 additional-arguments : " --exclude=README.md"
14- java-version : ${{ (github.ref == 'refs/heads/v1' || github.base_ref == 'v1') && '8' || '17' }}
14+ java-version : " 17 "
1515 secrets : inherit
You can’t perform that action at this time.
0 commit comments