From 333018905632435caaba25d8ace7ddd676e6d9eb Mon Sep 17 00:00:00 2001 From: John O'Loughlin Date: Wed, 3 Jan 2024 10:37:13 +0000 Subject: [PATCH] rename master to main on ci jobs Signed-off-by: John O'Loughlin --- .github/workflows/codeql.yml | 4 ++-- .github/workflows/e2e.yml | 2 +- .github/workflows/scorecard.yml | 2 +- .github/workflows/static-scan.yml | 2 +- .github/workflows/trivy-testpmd.yml | 4 ++-- .github/workflows/trivy.yml | 4 ++-- .github/workflows/unittest.yml | 2 +- .github/workflows/weekly_e2e.yml | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b96b312e..87922742 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,9 +2,9 @@ name: "CodeQL" on: push: - branches: [ "master" ] + branches: [ "main ] pull_request: - branches: [ "master" ] + branches: [ "main" ] schedule: - cron: "37 4 * * 0" diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index d13ec83b..2cc9c559 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -2,7 +2,7 @@ name: E2E on: push: branches: - - master + - main pull_request: permissions: diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index fca58c3e..a779adb3 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -12,7 +12,7 @@ on: # schedule: # - cron: '32 15 * * 6' push: - branches: [ "master" ] + branches: [ "main" ] # Declare default permissions as read only. permissions: read-all diff --git a/.github/workflows/static-scan.yml b/.github/workflows/static-scan.yml index 935d47c3..1e8dc8f6 100644 --- a/.github/workflows/static-scan.yml +++ b/.github/workflows/static-scan.yml @@ -38,7 +38,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.5.3 - name: Run ShellCheck - uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # master + uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # main hadolint: runs-on: ubuntu-latest diff --git a/.github/workflows/trivy-testpmd.yml b/.github/workflows/trivy-testpmd.yml index 0f38a8dd..a0396ecf 100644 --- a/.github/workflows/trivy-testpmd.yml +++ b/.github/workflows/trivy-testpmd.yml @@ -7,10 +7,10 @@ name: trivy-testpmd on: push: - branches: [ "master" ] + branches: [ "main" ] pull_request: # The branches below must be a subset of the branches above - branches: [ "master" ] + branches: [ "main" ] schedule: - cron: '40 20 * * 4' diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 8e80f9fa..13d5ca8e 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -7,10 +7,10 @@ name: trivy on: push: - branches: [ "master" ] + branches: [ "main" ] pull_request: # The branches below must be a subset of the branches above - branches: [ "master" ] + branches: [ "main" ] schedule: - cron: '40 20 * * 4' diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 39203667..5cdd5a41 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -2,7 +2,7 @@ name: unit-tests on: push: branches: - - master + - main pull_request: permissions: diff --git a/.github/workflows/weekly_e2e.yml b/.github/workflows/weekly_e2e.yml index 1c93a500..92a47891 100644 --- a/.github/workflows/weekly_e2e.yml +++ b/.github/workflows/weekly_e2e.yml @@ -7,7 +7,7 @@ on: - '**weekly_e2e.yml' push: branches: - - master + - main paths: - '**weekly_e2e.yml' permissions: