Skip to content

Commit

Permalink
add PR to code
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiebise committed Mar 19, 2024
1 parent 7616ea9 commit 86450a0
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/cli-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ on:
- '.github/workflows/cli-scan.yaml'
- '.gitignore'
- 'comp-cli/**/*'
pull_request:
types: [opened, synchronize, reopened]
paths:
- '.github/workflows/cli-scan.yaml'
- '.gitignore'
- 'comp-cli/**/*'


workflow_dispatch:

Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/dotnet-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ on:
- '.gitignore'
- 'comp-dotnet/*.sln'
- 'comp-dotnet/project/*.cs*'
pull_request:
types: [opened, synchronize, reopened]
paths:
- '.github/workflows/dotnet-scan.yaml'
- '.gitignore'
- 'comp-dotnet/*.sln'
- 'comp-dotnet/project/*.cs*'

workflow_dispatch:
jobs:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/maven-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ on:
- '.gitignore'
- 'comp-maven/src/**/*'
- 'comp-maven/pom.xml'
pull_request:
types: [opened, synchronize, reopened]
paths:
- '.github/workflows/maven-scan.yaml'
- '.gitignore'
- 'comp-maven/src/**/*'
- 'comp-maven/pom.xml'
workflow_dispatch:
jobs:
scan-maven:
Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ on:
- '.github/workflows/cli-scan.yaml'
- '.gitignore'
- 'comp-cli/**/*'
pull_request:
types: [opened, synchronize, reopened]
paths:
- '.github/workflows/cli-scan.yaml'
- '.gitignore'
- 'comp-cli/**/*'
```
The SonarQube scan is run with `comp-cli` as the base directory.
Expand Down Expand Up @@ -49,6 +55,13 @@ on:
- '.gitignore'
- 'comp-dotnet/*.sln'
- 'comp-dotnet/project/*.cs*'
pull_request:
types: [opened, synchronize, reopened]
paths:
- '.github/workflows/dotnet-scan.yaml'
- '.gitignore'
- 'comp-dotnet/*.sln'
- 'comp-dotnet/project/*.cs*'
```
The .NET build and SonarQube scan are run in the `comp-dotnet` directory.
```yaml
Expand All @@ -75,6 +88,13 @@ on:
- '.gitignore'
- 'comp-maven/src/**/*'
- 'comp-maven/pom.xml'
pull_request:
types: [opened, synchronize, reopened]
paths:
- '.github/workflows/maven-scan.yaml'
- '.gitignore'
- 'comp-maven/src/**/*'
- 'comp-maven/pom.xml'
```
The Maven build and SonarQube scan are run in the `comp-maven` directory.
```yaml
Expand Down

0 comments on commit 86450a0

Please sign in to comment.