Skip to content

Commit a5fc472

Browse files
Merge branch 'main' into feat-automate-releases-releasenotes
2 parents e84be97 + 65ea069 commit a5fc472

20 files changed

+146
-59
lines changed

.github/actions/build-node-python/action.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ inputs:
3535
upload_yarn_lock:
3636
description: "uploads the node-yarn-lock artifact"
3737
required: false
38-
default: true
38+
default: false # false as it is broken right now when actions run in parallel: the artifact name must be unique (so we have to pass the branch or so)
39+
upload_bundle:
40+
description: "uploads the bundle artifact"
41+
required: false
42+
default: false # false as it is broken right now when actions run in parallel: the artifact name must be unique (so we have to pass the branch or so)
3943
run_node_lint:
4044
default: true
4145
required: false
@@ -87,7 +91,7 @@ runs:
8791
steps:
8892
# Node
8993
- name: Set up node version
90-
uses: actions/setup-node@v3
94+
uses: actions/setup-node@v4
9195
if: inputs.enable_node == 'true'
9296
with:
9397
node-version: ${{ inputs.node_version }}
@@ -129,14 +133,14 @@ runs:
129133
env:
130134
GITHUB_TOKEN: ${{ inputs.github_ro_token }}
131135
shell: bash
132-
- uses: actions/download-artifact@v3
136+
- uses: actions/download-artifact@v4
133137
# TODO: Remove the variable whenever we can ensure that build-node was called before
134138
if: inputs.enable_node == 'true' && inputs.download_yarn_lock == 'true'
135139
with:
136140
name: node-yarn-lock
137141
# Enable yarn download cache, @see https://github.com/actions/cache/tree/main/save#always-save-cache and https://github.com/actions/setup-node/issues/325
138142
- name: Restore yarn cache
139-
uses: actions/cache/restore@v3
143+
uses: actions/cache/restore@v4
140144
if: inputs.enable_node == 'true' && inputs.enable_node_cache == 'true'
141145
with:
142146
# This path is the global yarn cache, because for some reason the local .yarn/cache is not used. Maybe we need to set the cacheFolder, enableGlobalCache, ... options differently? @see https://yarnpkg.com/configuration/yarnrc#cacheFolder
@@ -234,26 +238,26 @@ runs:
234238
RUN_PYTHON_BUILD: ${{ inputs.run_python_build }}
235239
# Node
236240
- name: Save yarn cache
237-
uses: actions/cache/save@v3
241+
uses: actions/cache/save@v4
238242
if: inputs.enable_node == 'true' && steps.build.outcome == 'success' && inputs.enable_node_cache == 'true'
239243
with:
240244
# This path is the global yarn cache, because for some reason the local .yarn/cache is not used. Maybe we need to set the cacheFolder, enableGlobalCache, ... options differently? @see https://yarnpkg.com/configuration/yarnrc#cacheFolder
241245
path: ~/.yarn/berry/cache/
242246
key: yarn-download-cache-${{ hashFiles('package.json') }}
243-
- uses: actions/upload-artifact@v3
247+
- uses: actions/upload-artifact@v4
244248
if: inputs.enable_node == 'true' && inputs.upload_yarn_lock == 'true'
245249
with:
246250
name: node-yarn-lock
247251
path: ./yarn.lock
248-
- uses: actions/upload-artifact@v3
249-
if: inputs.enable_node == 'true' && inputs.run_node_bundle == 'true'
252+
- uses: actions/upload-artifact@v4
253+
if: inputs.enable_node == 'true' && inputs.run_node_bundle == 'true' && inputs.upload_bundle == 'true'
250254
with:
251255
name: node-bundle
252256
path: ./bundles
253257
# Chromatic
254258
- name: Run Chromatic
255259
if: inputs.enable_node == 'true' && inputs.chromatic_enable == 'true'
256-
uses: chromaui/action@v11.7.1
260+
uses: chromaui/action@v11.12.1
257261
with:
258262
exitZeroOnChanges: true
259263
exitOnceUploaded: true

.github/actions/build-push-helm-chart/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ runs:
1919
using: "composite"
2020
steps:
2121
- name: Set up helm
22-
uses: azure/setup-helm@v3
22+
uses: azure/setup-helm@v4
2323
with:
2424
version: "v3.12.2"
2525
id: install

.github/actions/build-push-image/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ runs:
3434
using: "composite"
3535
steps:
3636
- name: Configure AWS Credentials
37-
uses: aws-actions/configure-aws-credentials@v1.7.0
37+
uses: aws-actions/configure-aws-credentials@v4.0.2
3838
with:
3939
role-to-assume: ${{ inputs.aws_role }}
4040
aws-region: ${{ inputs.aws_region }}
4141
- name: Login to Amazon ECR
4242
id: login-ecr
43-
uses: aws-actions/amazon-ecr-login@v1.5.3
43+
uses: aws-actions/amazon-ecr-login@v2.0.1
4444
- name: get image tag
4545
id: get-image-tag
4646
run: |
@@ -53,7 +53,7 @@ runs:
5353
IMAGE_TAG: ${{ inputs.image_tag }}
5454
shell: bash
5555
- name: Build and push image to Amazon ECR
56-
uses: docker/build-push-action@v3
56+
uses: docker/build-push-action@v6
5757
with:
5858
context: ${{ inputs.current_directory }}
5959
file: ${{ inputs.docker_file }}

.github/actions/get-ecr-scan-result/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ runs:
4343
using: "composite"
4444
steps:
4545
- name: Configure AWS Credentials
46-
uses: aws-actions/configure-aws-credentials@v1.7.0
46+
uses: aws-actions/configure-aws-credentials@v4.0.2
4747
with:
4848
role-to-assume: ${{ inputs.aws_role }}
4949
aws-region: ${{ inputs.aws_region }}
5050
- name: Login to Amazon ECR
5151
id: login-ecr
52-
uses: aws-actions/amazon-ecr-login@v1.5.3
52+
uses: aws-actions/amazon-ecr-login@v2.0.1
5353
- name: Get AWS ECR Scan results
5454
id: get-scan-results
5555
run: |

.github/actions/retag-image/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ runs:
2323
using: "composite"
2424
steps:
2525
- name: Configure AWS Credentials
26-
uses: aws-actions/configure-aws-credentials@v1.7.0
26+
uses: aws-actions/configure-aws-credentials@v4.0.2
2727
with:
2828
role-to-assume: ${{ inputs.aws_role }}
2929
aws-region: ${{ inputs.aws_region }}
3030
- name: Login to Amazon ECR
3131
id: login-ecr
32-
uses: aws-actions/amazon-ecr-login@v1.5.3
32+
uses: aws-actions/amazon-ecr-login@v2.0.1
3333
- name: retag image
3434
run: |
3535
mapfile -t array < <(echo "${REPOSITORY_NAMES}" | tr ',' "\n")

.github/dependabot.yml

Lines changed: 90 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,94 @@
1-
# To get started with Dependabot version updates, you'll need to specify which
2-
# package ecosystems to update and where the package manifests are located.
3-
# Please see the documentation for all configuration options:
4-
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5-
61
version: 2
72
updates:
8-
- package-ecosystem: "github-actions" # See documentation for possible values
9-
directory: "/" # Location of package manifests
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
reviewers:
8+
- "dvviktordelev"
9+
10+
# Monitor each custom action folder individually, GH doesnt support wildcards here
11+
- package-ecosystem: "github-actions"
12+
directory: "/.github/actions/build-node-python"
13+
schedule:
14+
interval: "weekly"
15+
reviewers:
16+
- "dvviktordelev"
17+
- package-ecosystem: "github-actions"
18+
directory: "/.github/actions/build-push-helm-chart"
19+
schedule:
20+
interval: "weekly"
21+
reviewers:
22+
- "dvviktordelev"
23+
- package-ecosystem: "github-actions"
24+
directory: "/.github/actions/build-push-image"
25+
schedule:
26+
interval: "weekly"
27+
reviewers:
28+
- "dvviktordelev"
29+
- package-ecosystem: "github-actions"
30+
directory: "/.github/actions/check-actor"
31+
schedule:
32+
interval: "weekly"
33+
reviewers:
34+
- "dvviktordelev"
35+
- package-ecosystem: "github-actions"
36+
directory: "/.github/actions/check-helm-chart-version"
37+
schedule:
38+
interval: "weekly"
39+
reviewers:
40+
- "dvviktordelev"
41+
- package-ecosystem: "github-actions"
42+
directory: "/.github/actions/get-ecr-scan-result"
43+
schedule:
44+
interval: "weekly"
45+
reviewers:
46+
- "dvviktordelev"
47+
- package-ecosystem: "github-actions"
48+
directory: "/.github/actions/get-product-parameters"
49+
schedule:
50+
interval: "weekly"
51+
reviewers:
52+
- "dvviktordelev"
53+
- package-ecosystem: "github-actions"
54+
directory: "/.github/actions/lint-docker"
55+
schedule:
56+
interval: "weekly"
57+
reviewers:
58+
- "dvviktordelev"
59+
- package-ecosystem: "github-actions"
60+
directory: "/.github/actions/lint-github-actions"
61+
schedule:
62+
interval: "weekly"
63+
reviewers:
64+
- "dvviktordelev"
65+
- package-ecosystem: "github-actions"
66+
directory: "/.github/actions/publish-node"
67+
schedule:
68+
interval: "weekly"
69+
reviewers:
70+
- "dvviktordelev"
71+
- package-ecosystem: "github-actions"
72+
directory: "/.github/actions/publish-python"
73+
schedule:
74+
interval: "weekly"
75+
reviewers:
76+
- "dvviktordelev"
77+
- package-ecosystem: "github-actions"
78+
directory: "/.github/actions/release-product-changes"
79+
schedule:
80+
interval: "weekly"
81+
reviewers:
82+
- "dvviktordelev"
83+
- package-ecosystem: "github-actions"
84+
directory: "/.github/actions/release-source-changes"
85+
schedule:
86+
interval: "weekly"
87+
reviewers:
88+
- "dvviktordelev"
89+
- package-ecosystem: "github-actions"
90+
directory: "/.github/actions/retag-image"
1091
schedule:
1192
interval: "weekly"
93+
reviewers:
94+
- "dvviktordelev"

.github/workflows/build-node-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ jobs:
294294
# # TODO: Do component tests need the frontend/backend?
295295
# env: ${{ secrets.CYPRESS_ENV }}
296296
- name: Upload cypress screenshots
297-
uses: actions/upload-artifact@v3
297+
uses: actions/upload-artifact@v4
298298
if: failure()
299299
with:
300300
name: cypress-screenshots
@@ -403,7 +403,7 @@ jobs:
403403
path: playwright-report/
404404
- name: Run Chromatic Playwright
405405
if: ${{ inputs.chromatic_enable }}
406-
uses: chromaui/action@v11.7.1
406+
uses: chromaui/action@v11.12.1
407407
with:
408408
playwright: true
409409
exitZeroOnChanges: true

.github/workflows/build-product.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ jobs:
5757
runs-on: ubuntu-22.04
5858
steps:
5959
# checkout specific repository
60-
- uses: actions/checkout@v3
60+
- uses: actions/checkout@v4
6161
# checkout this workflow repository to get actions
62-
- uses: actions/checkout@v3
62+
- uses: actions/checkout@v4
6363
with:
6464
repository: datavisyn/github-workflows
6565
ref: ${{ env.WORKFLOW_BRANCH }}
@@ -118,7 +118,7 @@ jobs:
118118
if: ${{ always() && (needs.build-single.result == 'success' || needs.build-single.result == 'skipped') && (needs.build-workspace.result == 'success' || needs.build-workspace.result == 'skipped') && !(needs.build-workspace.result == 'skipped' && needs.build-single.result == 'skipped')}}
119119
runs-on: ubuntu-22.04
120120
steps:
121-
- uses: actions/checkout@v3
121+
- uses: actions/checkout@v4
122122
with:
123123
repository: datavisyn/github-workflows
124124
ref: ${{ env.WORKFLOW_BRANCH }}

.github/workflows/build-push-docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ jobs:
3838
runs-on: ubuntu-22.04
3939
steps:
4040
# checkout specific source repository
41-
- uses: actions/checkout@v3
41+
- uses: actions/checkout@v4
4242
# checkout this workflow repository to get actions
43-
- uses: actions/checkout@v3
43+
- uses: actions/checkout@v4
4444
with:
4545
repository: datavisyn/github-workflows
4646
ref: ${{ env.WORKFLOW_BRANCH }}

.github/workflows/build-push-helm-chart.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
runs-on: ubuntu-22.04
3737
steps:
3838
# checkout specific source repository
39-
- uses: actions/checkout@v3
39+
- uses: actions/checkout@v4
4040
# checkout this workflow repository to get actions
41-
- uses: actions/checkout@v3
41+
- uses: actions/checkout@v4
4242
with:
4343
repository: datavisyn/github-workflows
4444
ref: ${{ env.WORKFLOW_BRANCH }}

0 commit comments

Comments
 (0)