diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 344074a1ad..4c43110ae0 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -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' diff --git a/.github/workflows/eclipse-dash.yml b/.github/workflows/eclipse-dash.yml index b42e8e36c3..2bae472973 100644 --- a/.github/workflows/eclipse-dash.yml +++ b/.github/workflows/eclipse-dash.yml @@ -3,6 +3,9 @@ name: "Eclipse DASH IP Check" on: workflow_dispatch: push: + branches: main + pull_request: + branches: main jobs: diff --git a/.github/workflows/irs-build.yml b/.github/workflows/irs-build.yml index 183499eadb..0878e99cb6 100644 --- a/.github/workflows/irs-build.yml +++ b/.github/workflows/irs-build.yml @@ -2,9 +2,10 @@ name: IRS build on: workflow_dispatch: + pull_request: push: branches: - - '**' + - main tags: - '**' diff --git a/.github/workflows/kics.yml b/.github/workflows/kics.yml index 34e92a98f7..3bdce4b0ae 100644 --- a/.github/workflows/kics.yml +++ b/.github/workflows/kics.yml @@ -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" diff --git a/.github/workflows/owasp.yml b/.github/workflows/owasp.yml index 895e858db2..e069d5ee37 100644 --- a/.github/workflows/owasp.yml +++ b/.github/workflows/owasp.yml @@ -2,6 +2,9 @@ name: "OWASP dependency scanner" on: push: + branches: main + pull_request: + branches: main schedule: - cron: "0 0 * * *" diff --git a/.github/workflows/spotbugs.yml b/.github/workflows/spotbugs.yml index 7426902051..2462e6c608 100644 --- a/.github/workflows/spotbugs.yml +++ b/.github/workflows/spotbugs.yml @@ -2,6 +2,9 @@ name: "Spotbugs bug detection" on: push: + branches: main + pull_request: + branches: main schedule: - cron: "0 0 * * *" diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 0beea82993..e57a3ef9f0 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -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" diff --git a/.github/workflows/xray-cucumber.yaml b/.github/workflows/xray-cucumber.yaml index b7b7b2e736..63f480a555 100644 --- a/.github/workflows/xray-cucumber.yaml +++ b/.github/workflows/xray-cucumber.yaml @@ -3,6 +3,9 @@ name: IRS Cucumber Xray execution on: workflow_dispatch: push: + branches: main + pull_request: + branches: main jobs: build: