Skip to content

Commit 71b2613

Browse files
authored
Merge pull request #353 from codefresh-io/CR-26293-sync-v3.6.2
chore: sync v.3.6.2 into our fork
2 parents 741ab0e + 38b1c9b commit 71b2613

File tree

56 files changed

+62984
-1295
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+62984
-1295
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ contact_links:
44
- name: Have you read the docs?
55
url: https://argo-workflows.readthedocs.io/en/latest/
66
about: Much help can be found in the docs
7-
- name: Ask a question
8-
url: https://github.com/argoproj/argo-workflows/discussions/new
7+
- name: Ask a question about Codefresh's Argo Worklfows
8+
url: https://github.com/codefresh-io/argo-workflows/discussions/new
99
about: Ask a question or start a discussion about workflows
1010
- name: Chat on Slack
1111
url: https://argoproj.github.io/community/join-slack

.github/workflows/ci-build.yaml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ on:
77
- "!release-2.8"
88
pull_request:
99
branches:
10-
- "main"
10+
- "master"
11+
- "release-*"
1112

1213
concurrency:
1314
group: ${{ github.workflow }}-${{ github.ref }}
@@ -109,7 +110,7 @@ jobs:
109110
110111
tests:
111112
name: Unit Tests
112-
needs: [ changed-files ]
113+
needs: [changed-files]
113114
if: ${{ needs.changed-files.outputs.tests == 'true' }}
114115
runs-on: ubuntu-24.04
115116
timeout-minutes: 10
@@ -131,7 +132,7 @@ jobs:
131132

132133
tests-windows:
133134
name: Windows Unit Tests
134-
needs: [ changed-files ]
135+
needs: [changed-files]
135136
if: ${{ needs.changed-files.outputs.tests == 'true' }}
136137
runs-on: windows-2022
137138
timeout-minutes: 20
@@ -186,7 +187,7 @@ jobs:
186187

187188
e2e-tests:
188189
name: E2E Tests
189-
needs: [ changed-files, argo-images ]
190+
needs: [changed-files, argo-images]
190191
if: ${{ needs.changed-files.outputs.e2e-tests == 'true' }}
191192
runs-on: ubuntu-24.04
192193
# These tests usually finish in ~25m, but occasionally they take much longer due to resource
@@ -261,14 +262,14 @@ jobs:
261262
if: ${{matrix.test == 'test-java-sdk'}}
262263
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
263264
with:
264-
java-version: '8'
265+
java-version: "8"
265266
distribution: adopt
266267
cache: maven
267268
- name: Install Python for the SDK
268269
if: ${{matrix.test == 'test-python-sdk'}}
269270
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
270271
with:
271-
python-version: '3.x'
272+
python-version: "3.x"
272273
cache: pip
273274
- name: Install and start K3S
274275
run: |
@@ -291,7 +292,7 @@ jobs:
291292
- name: Download images
292293
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
293294
with:
294-
pattern: '*_image.tar'
295+
pattern: "*_image.tar"
295296
path: /tmp
296297
- name: Load images
297298
run: |
@@ -370,7 +371,7 @@ jobs:
370371
# see https://github.com/orgs/community/discussions/9141#discussioncomment-2296809 and https://github.com/orgs/community/discussions/26822#discussioncomment-3305794
371372
e2e-tests-composite-result:
372373
name: E2E Tests - Composite result
373-
needs: [ e2e-tests ]
374+
needs: [e2e-tests]
374375
if: ${{ always() }}
375376
runs-on: ubuntu-24.04
376377
steps:
@@ -385,7 +386,7 @@ jobs:
385386
386387
codegen:
387388
name: Codegen
388-
needs: [ changed-files ]
389+
needs: [changed-files]
389390
if: ${{ needs.changed-files.outputs.codegen == 'true' }}
390391
runs-on: ubuntu-24.04
391392
timeout-minutes: 20
@@ -422,7 +423,7 @@ jobs:
422423

423424
lint:
424425
name: Lint
425-
needs: [ changed-files ]
426+
needs: [changed-files]
426427
if: ${{ needs.changed-files.outputs.lint == 'true' }}
427428
runs-on: ubuntu-24.04
428429
timeout-minutes: 15 # must be strictly greater than the timeout in .golangci.yml
@@ -444,7 +445,7 @@ jobs:
444445

445446
ui:
446447
name: UI
447-
needs: [ changed-files ]
448+
needs: [changed-files]
448449
if: ${{ needs.changed-files.outputs.ui == 'true' }}
449450
runs-on: ubuntu-24.04
450451
timeout-minutes: 6
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: PR check
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- "release-*"
7+
8+
jobs:
9+
test-default-branch:
10+
name: base branch is a default branch
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: fail if base branch is not default branch
14+
if: ${{ github.event.pull_request.base.ref != github.event.repository.default_branch }}
15+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
16+
with:
17+
script: |
18+
core.setFailed("Base branch of the PR - ${{ github.event.pull_request.base.ref }} is not a default branch. Please reopen your PR to ${{ github.event.repository.default_branch }}")

0 commit comments

Comments
 (0)