File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 # a pull request then we can checkout the head.
2323 fetch-depth : 2
2424
25- # If this run was triggered by a pull request event, then checkout
26- # the head of the pull request instead of the merge commit.
27- - run : git checkout HEAD^2
28- if : ${{ github.event_name == 'pull_request' }}
29-
3025 # Initializes the CodeQL tools for scanning.
3126 - name : Initialize CodeQL
3227 uses : github/codeql-action/init@v4
Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ jobs:
1313 java : [ 11, 17 ]
1414
1515 steps :
16- - uses : actions/checkout@v6
16+ - uses : actions/checkout@v4
1717 - name : Set up Java
18- uses : actions/setup-java@v5
18+ uses : actions/setup-java@v4
1919 with :
2020 java-version : ${{ matrix.java }}
2121 distribution : temurin
2222 server-id : central
2323 server-username : MAVEN_USERNAME
2424 server-password : MAVEN_PASSWORD
2525 - name : Cache local Maven repository
26- uses : actions/cache@v5
26+ uses : actions/cache@v4
2727 with :
2828 path : ~/.m2/repository
2929 key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
You can’t perform that action at this time.
0 commit comments