Skip to content

Commit

Permalink
update ci to run jobs in the 1.0-fork branch (#2408)
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <[email protected]>

Signed-off-by: cpanato <[email protected]>
  • Loading branch information
cpanato authored Nov 3, 2022
1 parent 9a2ea28 commit 43bde0e
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 17 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ on:
branches:
- main
- release-*
- 1.0-fork

permissions: read-all

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ on:
- '!images/**'
- '!LICENSE'
- 'test/**'
branches: [ main ]
branches:
- main
- 1.0-fork

env:
CODEQL_EXTRACTOR_GO_BUILD_TRACING: true
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/cross.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/donotsubmit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: Do Not Submit

on:
pull_request:
branches: [ 'main', 'release-*' ]
branches:
- main
- release-*
- 1.0-fork

permissions: read-all

Expand 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
4 changes: 3 additions & 1 deletion .github/workflows/e2e-with-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ on:
- '!images/**'
- '!LICENSE'
- 'test/**'
branches: [ 'main' ]
branches:
- main
- 1.0-fork
workflow_dispatch:

jobs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ on:
- '!LICENSE'
- 'test/**'
branches:
- "main"
- main
- 1.0-fork
workflow_dispatch:

permissions: read-all
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/github-oidc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/kind-verify-attestation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ name: Test attest / verify-attestation

on:
pull_request:
branches: [ 'main', 'release-*' ]
branches:
- main
- release-*
- 1.0-fork

defaults:
run:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ on:
- '!images/**'
- '!LICENSE'
- 'test/**'
branches: ['main', 'release-*']
branches:
- main
- release-*
- 1.0-fork
pull_request:

permissions: read-all
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/validate-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ on:
branches:
- main
- release-*
- 1.0-fork
pull_request:

jobs:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/verify-docgen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ name: Docgen
on:
workflow_dispatch:
push:
branches: ['main', 'release-*']
branches:
- main
- release-*
- 1.0-fork
pull_request:

permissions: read-all
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/whitespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: Whitespace

on:
pull_request:
branches: [ 'main', 'release-*' ]
branches:
- main
- release-*
- 1.0-fork

permissions: read-all

Expand Down

0 comments on commit 43bde0e

Please sign in to comment.