From 43bde0e2012243fa78363202545e5372b26a29c2 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Thu, 3 Nov 2022 10:02:22 +0100 Subject: [PATCH] update ci to run jobs in the 1.0-fork branch (#2408) Signed-off-by: cpanato Signed-off-by: cpanato --- .github/workflows/build.yaml | 1 + .github/workflows/codeql-analysis.yml | 4 +++- .github/workflows/cross.yaml | 15 ++++++++------- .github/workflows/donotsubmit.yaml | 7 +++++-- .github/workflows/e2e-with-binary.yml | 4 +++- .github/workflows/e2e_tests.yml | 3 ++- .github/workflows/github-oidc.yaml | 5 ++++- .github/workflows/kind-verify-attestation.yaml | 5 ++++- .github/workflows/tests.yaml | 5 ++++- .github/workflows/validate-release.yml | 1 + .github/workflows/verify-docgen.yaml | 5 ++++- .github/workflows/whitespace.yaml | 5 ++++- 12 files changed, 43 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7416cd63c99..14f33e4820e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -28,6 +28,7 @@ on: branches: - main - release-* + - 1.0-fork permissions: read-all diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 99f25e6a8cf..48529a21f6e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -25,7 +25,9 @@ on: - '!images/**' - '!LICENSE' - 'test/**' - branches: [ main ] + branches: + - main + - 1.0-fork env: CODEQL_EXTRACTOR_GO_BUILD_TRACING: true diff --git a/.github/workflows/cross.yaml b/.github/workflows/cross.yaml index 94316735c9e..5c501711321 100644 --- a/.github/workflows/cross.yaml +++ b/.github/workflows/cross.yaml @@ -1,16 +1,17 @@ on: push: paths: - - '**' - - '!**.md' - - '!doc/**' - - '!**.txt' - - '!images/**' - - '!LICENSE' - - 'test/**' + - '**' + - '!**.md' + - '!doc/**' + - '!**.txt' + - '!images/**' + - '!LICENSE' + - 'test/**' branches: - main - release-* + - 1.0-fork pull_request: permissions: read-all diff --git a/.github/workflows/donotsubmit.yaml b/.github/workflows/donotsubmit.yaml index f905f9ec04a..8eb7d5d849d 100644 --- a/.github/workflows/donotsubmit.yaml +++ b/.github/workflows/donotsubmit.yaml @@ -2,7 +2,10 @@ name: Do Not Submit on: pull_request: - branches: [ 'main', 'release-*' ] + branches: + - main + - release-* + - 1.0-fork permissions: read-all @@ -14,7 +17,7 @@ jobs: steps: - name: Check out code - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v2.4.0 + uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v2.4.0 - name: Do Not Submit uses: chainguard-dev/actions/donotsubmit@84c993eaf02da1c325854fb272a4df9184bd80fc # main diff --git a/.github/workflows/e2e-with-binary.yml b/.github/workflows/e2e-with-binary.yml index da2d435a3ae..958d79922fc 100644 --- a/.github/workflows/e2e-with-binary.yml +++ b/.github/workflows/e2e-with-binary.yml @@ -25,7 +25,9 @@ on: - '!images/**' - '!LICENSE' - 'test/**' - branches: [ 'main' ] + branches: + - main + - 1.0-fork workflow_dispatch: jobs: diff --git a/.github/workflows/e2e_tests.yml b/.github/workflows/e2e_tests.yml index a7bcc4b3a16..9942155a15a 100644 --- a/.github/workflows/e2e_tests.yml +++ b/.github/workflows/e2e_tests.yml @@ -27,7 +27,8 @@ on: - '!LICENSE' - 'test/**' branches: - - "main" + - main + - 1.0-fork workflow_dispatch: permissions: read-all diff --git a/.github/workflows/github-oidc.yaml b/.github/workflows/github-oidc.yaml index 721b3991bfd..cf2a2dd5931 100644 --- a/.github/workflows/github-oidc.yaml +++ b/.github/workflows/github-oidc.yaml @@ -23,7 +23,10 @@ on: - '!images/**' - '!LICENSE' - 'test/**' - branches: [ 'main', 'release-*' ] + branches: + - main + - release-* + - 1.0-fork schedule: - cron: '0 1 * * *' # 1AM UTC workflow_dispatch: diff --git a/.github/workflows/kind-verify-attestation.yaml b/.github/workflows/kind-verify-attestation.yaml index 7a998885dcf..a821aa073f4 100644 --- a/.github/workflows/kind-verify-attestation.yaml +++ b/.github/workflows/kind-verify-attestation.yaml @@ -16,7 +16,10 @@ name: Test attest / verify-attestation on: pull_request: - branches: [ 'main', 'release-*' ] + branches: + - main + - release-* + - 1.0-fork defaults: run: diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 900178033fb..c88c7bf64b2 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -25,7 +25,10 @@ on: - '!images/**' - '!LICENSE' - 'test/**' - branches: ['main', 'release-*'] + branches: + - main + - release-* + - 1.0-fork pull_request: permissions: read-all diff --git a/.github/workflows/validate-release.yml b/.github/workflows/validate-release.yml index 7f12d0432b7..6cf266ff635 100644 --- a/.github/workflows/validate-release.yml +++ b/.github/workflows/validate-release.yml @@ -20,6 +20,7 @@ on: branches: - main - release-* + - 1.0-fork pull_request: jobs: diff --git a/.github/workflows/verify-docgen.yaml b/.github/workflows/verify-docgen.yaml index 71f0f5836af..87bdcfbea88 100644 --- a/.github/workflows/verify-docgen.yaml +++ b/.github/workflows/verify-docgen.yaml @@ -18,7 +18,10 @@ name: Docgen on: workflow_dispatch: push: - branches: ['main', 'release-*'] + branches: + - main + - release-* + - 1.0-fork pull_request: permissions: read-all diff --git a/.github/workflows/whitespace.yaml b/.github/workflows/whitespace.yaml index 07b89b5368e..cca62bdabaf 100644 --- a/.github/workflows/whitespace.yaml +++ b/.github/workflows/whitespace.yaml @@ -2,7 +2,10 @@ name: Whitespace on: pull_request: - branches: [ 'main', 'release-*' ] + branches: + - main + - release-* + - 1.0-fork permissions: read-all