Skip to content

Commit

Permalink
added ability to trigger pipelines on feature branches as well
Browse files Browse the repository at this point in the history
  • Loading branch information
cole-gannaway-sonarsource authored Aug 16, 2024
1 parent 4265418 commit 723e1d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- feature*
pull_request:
types: [opened, synchronize, reopened]
jobs:
Expand Down Expand Up @@ -35,4 +36,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=SonarCloud-Demos_demo-java-security
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=SonarCloud-Demos_demo-java-security

0 comments on commit 723e1d6

Please sign in to comment.