Skip to content

Commit 313c9ed

Browse files
committed
Update versions in github actions
1 parent 12b8f49 commit 313c9ed

10 files changed

+31
-31
lines changed

.github/workflows/backend_lint_and_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- name: Set up .NET
2323
uses: actions/setup-dotnet@v4
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434

3535
- name: Set up .NET
3636
uses: actions/setup-dotnet@v4
@@ -46,7 +46,7 @@ jobs:
4646
check_formatting:
4747
runs-on: ubuntu-latest
4848
steps:
49-
- uses: actions/checkout@v3
49+
- uses: actions/checkout@v4
5050

5151
- name: Setup .NET Core
5252
uses: actions/setup-dotnet@v4

.github/workflows/frontend_lint_and_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2222

2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2525
- name: Use Node.js ${{ matrix.node-version }}
26-
uses: actions/setup-node@v2
26+
uses: actions/setup-node@v4
2727
with:
2828
node-version: ${{ matrix.node-version }}
2929
cache: "npm"
@@ -48,7 +48,7 @@ jobs:
4848
working-directory: ./frontend
4949
steps:
5050
- name: Checkout
51-
uses: actions/checkout@v2
51+
uses: actions/checkout@v4
5252

5353
- name: Run Prettier
5454
run: npm run prettier_check
@@ -59,7 +59,7 @@ jobs:
5959
run:
6060
working-directory: ./frontend
6161
steps:
62-
- uses: actions/checkout@v2
62+
- uses: actions/checkout@v4
6363
- name: Install modules
6464
run: yarn
6565
- name: Run ESLint

.github/workflows/notifyMigrationChanges.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ jobs:
1717
pull-requests: write
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- name: Check for previous comment
2323
id: notify_comment_search
24-
uses: peter-evans/find-comment@v2
24+
uses: peter-evans/find-comment@v3
2525
with:
2626
issue-number: ${{ github.event.number }}
2727
body-includes: ${{ env.message }}
2828

2929
- name: Add comment if no comment exists
3030
if: ${{ !steps.notify_comment_search.outputs.comment-body }}
31-
uses: peter-evans/create-or-update-comment@v2
31+
uses: peter-evans/create-or-update-comment@v4
3232
with:
3333
token: ${{ secrets.GITHUB_TOKEN }}
3434
issue-number: ${{ github.event.number }}

.github/workflows/notifyPossibleMigrationUpdate.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ jobs:
1818
pull-requests: write
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222

2323
- name: Get changed files in the migrations folder
2424
id: changed_files
25-
uses: tj-actions/changed-files@v35.6.1
25+
uses: tj-actions/changed-files@v45
2626
with:
2727
files: backend/api/Migrations/**
2828
sha: ${{ github.event.pull_request.head.sha }}
2929

3030
- name: If no migrations, check for previous comment
3131
if: ${{ steps.changed_files.outputs.any_changed != 'true' }}
3232
id: notify_comment_search
33-
uses: peter-evans/find-comment@v2
33+
uses: peter-evans/find-comment@v3
3434
with:
3535
issue-number: ${{ github.event.number }}
3636
body-includes: ${{ env.message }}
@@ -39,7 +39,7 @@ jobs:
3939
if: |
4040
!steps.notify_comment_search.outputs.comment-body &&
4141
steps.changed_files.outputs.any_changed != 'true'
42-
uses: peter-evans/create-or-update-comment@v2
42+
uses: peter-evans/create-or-update-comment@v4
4343
with:
4444
token: ${{ secrets.GITHUB_TOKEN }}
4545
issue-number: ${{ github.event.number }}

.github/workflows/promote_to_production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Checkout infrastructure
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929
with:
3030
ref: main
3131
repository: equinor/robotics-infrastructure

.github/workflows/publish_component.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,23 @@ jobs:
3030

3131
steps:
3232
- name: Checkout repository
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434

3535
- name: Log in to the Github Container registry
36-
uses: docker/login-action@v2
36+
uses: docker/login-action@v3
3737
with:
3838
registry: ${{ inputs.Registry }}
3939
username: ${{ secrets.RegistryUsername }}
4040
password: ${{ secrets.RegistryPassword }}
4141

4242
- name: Extract metadata (tags, labels) for Docker
4343
id: meta
44-
uses: docker/metadata-action@v4
44+
uses: docker/metadata-action@v5
4545
with:
4646
images: ${{ inputs.Registry }}/${{ inputs.ImageName }}-${{ inputs.ComponentName }}
4747

4848
- name: Build and push Docker image
49-
uses: docker/build-push-action@v3
49+
uses: docker/build-push-action@v6
5050
with:
5151
context: ./${{ inputs.ComponentName }}
5252
push: true

.github/workflows/scan_with_trufflehog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
shell: bash
1717
steps:
1818
- name: Checkout code
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
2222

2323
- name: TruffleHog OSS
2424
id: trufflehog
25-
uses: trufflesecurity/trufflehog@v3.63.1
25+
uses: trufflesecurity/trufflehog@v3.82.7
2626
continue-on-error: true
2727
with:
2828
path: ./

.github/workflows/updateDatabase.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ jobs:
6262
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6363

6464
- name: React to comment
65-
uses: peter-evans/create-or-update-comment@v3
65+
uses: peter-evans/create-or-update-comment@v4
6666
with:
6767
comment-id: ${{ github.event.comment.id }}
6868
reactions: confused, -1
6969

7070
- name: Add comment
71-
uses: peter-evans/create-or-update-comment@v3
71+
uses: peter-evans/create-or-update-comment@v4
7272
with:
7373
token: ${{ secrets.GITHUB_TOKEN }}
7474
issue-number: ${{ github.event.issue.number }}
@@ -90,13 +90,13 @@ jobs:
9090
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9191

9292
- name: React to comment
93-
uses: peter-evans/create-or-update-comment@v3
93+
uses: peter-evans/create-or-update-comment@v4
9494
with:
9595
comment-id: ${{ github.event.comment.id }}
9696
reactions: rocket, +1
9797

9898
- name: Add comment
99-
uses: peter-evans/create-or-update-comment@v3
99+
uses: peter-evans/create-or-update-comment@v4
100100
with:
101101
token: ${{ secrets.GITHUB_TOKEN }}
102102
issue-number: ${{ github.event.issue.number }}
@@ -120,7 +120,7 @@ jobs:
120120
pull-requests: write
121121
steps:
122122
- name: Add comment
123-
uses: peter-evans/create-or-update-comment@v3
123+
uses: peter-evans/create-or-update-comment@v4
124124
with:
125125
token: ${{ secrets.GITHUB_TOKEN }}
126126
issue-number: ${{ github.event.issue.number }}
@@ -135,7 +135,7 @@ jobs:
135135
pull-requests: write
136136
steps:
137137
- name: Add comment
138-
uses: peter-evans/create-or-update-comment@v3
138+
uses: peter-evans/create-or-update-comment@v4
139139
with:
140140
token: ${{ secrets.GITHUB_TOKEN }}
141141
issue-number: ${{ github.event.issue.number }}

.github/workflows/update_aurora_deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
NAME: ${{ inputs.AuthorName }}
3535
steps:
3636
- name: Checkout infrastructure
37-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
3838
with:
3939
ref: main
4040
repository: equinor/robotics-infrastructure

.github/workflows/verifyMigrations.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: ${{ github.event_name == 'pull_request_target' }}
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616

1717
- name: Get changed files in the migrations folder
1818
id: changed-files-specific
@@ -24,14 +24,14 @@ jobs:
2424
- name: If files changed, check for database success
2525
if: ${{ steps.changed-files-specific.outputs.any_changed == 'true' }}
2626
id: database_comment_search
27-
uses: peter-evans/find-comment@v2
27+
uses: peter-evans/find-comment@v3
2828
with:
2929
issue-number: ${{ github.event.number }}
3030
body-includes: ${{ env.success_message }}
3131
comment-author: github-actions[bot]
3232

3333
- name: Fail if files changed & no database success (comment not found)
3434
if: |
35-
steps.changed-files-specific.outputs.any_changed == 'true' &&
35+
steps.changed-files-specific.outputs.any_changed == 'true' &&
3636
!steps.database_comment_search.outputs.comment-body
3737
run: exit 1

0 commit comments

Comments
 (0)