Skip to content

Commit

Permalink
feat(workflows):[TRI-883] Change trigger to PR only
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-jhartmann committed Nov 30, 2022
1 parent 1124289 commit 01caa6f
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 10 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ name: "CodeQL code analysis"

on:
push:
branches: [ main, master ]
branches: main
pull_request:
# The branches below must be a subset of the branches above
branches: [ main, master ]
branches: main
paths-ignore:
- '**/*.md'
- '**/*.txt'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/eclipse-dash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: "Eclipse DASH IP Check"
on:
workflow_dispatch:
push:
branches: main
pull_request:
branches: main


jobs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/irs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: IRS build

on:
workflow_dispatch:
pull_request:
push:
branches:
- '**'
- main
tags:
- '**'

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/kics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ name: "KICS security and vulnerability scanner"

on:
push:
branches: [main, master]
branches: main
pull_request:
# The branches below must be a subset of the branches above
branches: [main, master]
branches: main
paths-ignore:
- "**/*.md"
- "**/*.txt"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/owasp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: "OWASP dependency scanner"

on:
push:
branches: main
pull_request:
branches: main
schedule:
- cron: "0 0 * * *"

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/spotbugs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: "Spotbugs bug detection"

on:
push:
branches: main
pull_request:
branches: main
schedule:
- cron: "0 0 * * *"

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ name: "Trivy vulnerability scanner"

on:
push:
branches: [ main, master ]
branches: main
pull_request:
# The branches below must be a subset of the branches above
branches: [ main, master ]
branches: main
paths-ignore:
- "**/*.md"
- "**/*.txt"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/xray-cucumber.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: IRS Cucumber Xray execution
on:
workflow_dispatch:
push:
branches: main
pull_request:
branches: main

jobs:
build:
Expand Down

0 comments on commit 01caa6f

Please sign in to comment.