Skip to content

Commit c16ab0d

Browse files
authored
Merge pull request #1134 from apache/merge/master-to-7xx-2024-11-29
Merge master into 7.x.x 2024-11-29
2 parents 9b2d6a2 + 6100068 commit c16ab0d

File tree

7 files changed

+333
-431
lines changed

7 files changed

+333
-431
lines changed

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
*.bat eol=crlf
4+
*.cmd eol=crlf
5+
*.sh eol=lf

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ jobs:
5252
java-version: 17
5353
cache: 'maven'
5454
- name: Initialize CodeQL
55-
uses: github/codeql-action/[email protected].0
55+
uses: github/codeql-action/[email protected].4
5656
with:
5757
languages: ${{ matrix.language }}
5858
- name: Autobuild
59-
uses: github/codeql-action/[email protected].0
59+
uses: github/codeql-action/[email protected].4
6060
- name: Perform CodeQL Analysis
61-
uses: github/codeql-action/[email protected].0
61+
uses: github/codeql-action/[email protected].4
6262
with:
6363
category: "/language:${{matrix.language}}"

.github/workflows/scorecards-analysis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ jobs:
6565
retention-days: 5
6666

6767
- name: "Upload to code-scanning"
68-
uses: github/codeql-action/upload-sarif@3aa71356c75a8edd8430d54dff2982203a28be45 # 2.22.11
68+
uses: github/codeql-action/upload-sarif@a1695c562bbfa68dc5ab58c9b5e9f616b52bf5be # 2.22.11
6969
with:
7070
sarif_file: results.sarif

.github/workflows/sonar.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,18 @@ jobs:
3232
sonarcloud:
3333
name: Scan
3434
runs-on: ubuntu-latest
35-
if: ${{ !github.event.pull_request.head.repo.fork }}
35+
if: ${{ !github.event.pull_request.base.repo.fork && !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}
3636
steps:
3737
- uses: actions/checkout@v4
3838
with:
3939
fetch-depth: 0
4040
- uses: actions/setup-java@v4
4141
with:
4242
distribution: temurin
43-
java-version: 17
43+
java-version: 21
4444
cache: 'maven'
4545
- env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
48-
run: mvn -B -V -Pcoverage -DskipAssembly verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar --no-transfer-progress
48+
if: ${{ github.ref == 'master' || github.base_ref == 'master' }}
49+
run: ./mvnw -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.branch.name=master -Pcoverage -DskipAssembly

.mvn/wrapper/maven-wrapper.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
18-
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
17+
wrapperVersion=3.3.2
18+
distributionType=only-script
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip

0 commit comments

Comments
 (0)