This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch release/struts-6-8-x
in repository https://gitbox.apache.org/repos/asf/struts.git
The following commit(s) were added to refs/heads/release/struts-6-8-x by this
push:
new a5b736b48 chore(conf): skips scans if PR created by Dependabot (#1554)
a5b736b48 is described below
commit a5b736b4884516e81ea6ad51bbe43091b6f8529b
Author: Lukasz Lenart <[email protected]>
AuthorDate: Mon Jan 26 16:21:39 2026 +0100
chore(conf): skips scans if PR created by Dependabot (#1554)
---
.github/workflows/sonar.yml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml
index 4a3667e4c..d51234171 100644
--- a/.github/workflows/sonar.yml
+++ b/.github/workflows/sonar.yml
@@ -19,7 +19,7 @@ on:
pull_request:
push:
branches:
- - master
+ - release/6-8-x
permissions: read-all
@@ -31,12 +31,12 @@ jobs:
sonarcloud:
name: Scan
runs-on: ubuntu-latest
- if: ${{ !github.event.pull_request.head.repo.fork }}
+ if: ${{ !github.event.pull_request.base.repo.fork &&
!github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]'
}}
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
with:
fetch-depth: 0
- - uses: actions/setup-java@v4
+ - uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 17
@@ -44,4 +44,4 @@ jobs:
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
- run: mvn -B -V -Pcoverage -DskipAssembly verify
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar --no-transfer-progress
+ run: ./mvnw -B verify
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Pcoverage -DskipAssembly