diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 1a2b90083d..36ac59f664 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -3,18 +3,20 @@ name: "CodeQL" on: push: branches: - - "main" - - "v.?[0-9]+.[0-9]+.[0-9]+" - - "v.?[0-9]+.[0-9]+" - - "v?[0-9]+.[0-9]+.[0-9]+" - - "v?[0-9]+.[0-9]+" + - "main" + - "v.?[0-9]+.[0-9]+.[0-9]+" + - "v.?[0-9]+.[0-9]+" + - "v?[0-9]+.[0-9]+.[0-9]+" + - "v?[0-9]+.[0-9]+" + - release-* pull_request: branches: - - "main" - - "v.?[0-9]+.[0-9]+.[0-9]+" - - "v.?[0-9]+.[0-9]+" - - "v?[0-9]+.[0-9]+.[0-9]+" - - "v?[0-9]+.[0-9]+" + - "main" + - "v.?[0-9]+.[0-9]+.[0-9]+" + - "v.?[0-9]+.[0-9]+" + - "v?[0-9]+.[0-9]+.[0-9]+" + - "v?[0-9]+.[0-9]+" + - release-* schedule: - cron: "37 18 * * 6" diff --git a/.github/workflows/csharp.yml b/.github/workflows/csharp.yml index 36b380c3e0..aa85d9a991 100644 --- a/.github/workflows/csharp.yml +++ b/.github/workflows/csharp.yml @@ -2,7 +2,10 @@ name: C# tests on: push: - branches: ["main"] + branches: + - main + - release-* + - v* paths: - csharp/** - glide-core/src/** diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7cdfedef59..6eaf3d1d19 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,7 +2,10 @@ name: Go CI on: push: - branches: [ "main" ] + branches: + - main + - release-* + - v* paths: - glide-core/src/** - submodules/** diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index ca626224f4..ebc6a06169 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -2,7 +2,10 @@ name: Java CI on: push: - branches: ["main"] + branches: + - main + - release-* + - v* paths: - glide-core/src/** - submodules/** diff --git a/.github/workflows/lint-ts.yml b/.github/workflows/lint-ts.yml index 686bdd1183..cd324ba3cf 100644 --- a/.github/workflows/lint-ts.yml +++ b/.github/workflows/lint-ts.yml @@ -2,7 +2,10 @@ name: lint-ts on: push: - branches: ["main"] + branches: + - main + - release-* + - v* paths: - benchmarks/node/** - node/** diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 634219ea15..a9b6b4be18 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -2,7 +2,10 @@ name: Node on: push: - branches: ["main"] + branches: + - main + - release-* + - v* paths: - glide-core/src/** - submodules/** diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index c85045df07..c3aa78072b 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -2,7 +2,10 @@ name: Python tests on: push: - branches: ["main"] + branches: + - main + - release-* + - v* paths: - python/** - glide-core/src/** diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c022e3e419..c632880a2b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,7 +2,10 @@ name: Rust tests on: push: - branches: [main] + branches: + - main + - release-* + - v* paths: - logger_core/** - glide-core/** diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 4bfd9e12ac..58bb7cb238 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -1,36 +1,39 @@ name: Semgrep on: - # Scan changed files in PRs (diff-aware scanning): - pull_request: {} - # Scan on-demand through GitHub Actions interface: - workflow_dispatch: - inputs: - branch: - description: 'The branch to run against the semgrep tool' - required: true - push: - branches: ["main"] - # Schedule the CI job (this method uses cron syntax): - schedule: - - cron: '0 8 * * *' # Sets Semgrep to scan every day at 08:00 UTC. + # Scan changed files in PRs (diff-aware scanning): + pull_request: {} + # Scan on-demand through GitHub Actions interface: + workflow_dispatch: + inputs: + branch: + description: "The branch to run against the semgrep tool" + required: true + push: + branches: + - main + - release-* + - v* + # Schedule the CI job (this method uses cron syntax): + schedule: + - cron: "0 8 * * *" # Sets Semgrep to scan every day at 08:00 UTC. jobs: - semgrep: - # User definable name of this GitHub Actions job. - name: semgrep/ci - # If you are self-hosting, change the following `runs-on` value: - runs-on: ubuntu-latest + semgrep: + # User definable name of this GitHub Actions job. + name: semgrep/ci + # If you are self-hosting, change the following `runs-on` value: + runs-on: ubuntu-latest - container: - # A Docker image with Semgrep installed. Do not change this. - image: semgrep/semgrep + container: + # A Docker image with Semgrep installed. Do not change this. + image: semgrep/semgrep - # Skip any PR created by dependabot to avoid permission issues: - if: (github.actor != 'dependabot[bot]') + # Skip any PR created by dependabot to avoid permission issues: + if: (github.actor != 'dependabot[bot]') - steps: - # Fetch project source with GitHub Actions Checkout. - - uses: actions/checkout@v3 - # Run the "semgrep ci" command on the command line of the docker image. - - run: semgrep ci --config auto --no-suppress-errors --exclude-rule generic.secrets.security.detected-private-key.detected-private-key + steps: + # Fetch project source with GitHub Actions Checkout. + - uses: actions/checkout@v3 + # Run the "semgrep ci" command on the command line of the docker image. + - run: semgrep ci --config auto --no-suppress-errors --exclude-rule generic.secrets.security.detected-private-key.detected-private-key