Skip to content

Commit ebe0585

Browse files
committed
Update GH actions to use Node20
Following warning can be seen in the GH Actions runs: ``` Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: <action name>. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. ``` Note - this project doesn't provide any update for this migration yet: https://github.com/actions/add-to-project/releases
1 parent 7ed68f3 commit ebe0585

7 files changed

+21
-21
lines changed

.github/workflows/auto-add-issue-to-project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- name: Generate github-app token
1313
id: app-token
14-
uses: getsentry/action-github-app-token@v2
14+
uses: getsentry/action-github-app-token@v3
1515
with:
1616
app_id: ${{ secrets.DEVOPS_APP_ID }}
1717
private_key: ${{ secrets.DEVOPS_APP_PRIVATE_KEY }}

.github/workflows/notebooks-digest-updater-upstream.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
3030
# Checkout the branch
3131
- name: Checkout branch
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3333
with:
3434
ref: ${{ env.BRANCH_NAME }}
3535

@@ -53,7 +53,7 @@ jobs:
5353
5454
# Get the latest weekly build commit hash: https://github.com/opendatahub-io/notebooks/commits/2024a
5555
- name: Checkout upstream notebooks repo
56-
uses: actions/checkout@v3
56+
uses: actions/checkout@v4
5757
with:
5858
repository: opendatahub-io/notebooks.git
5959
ref: ${{ env.RELEASE_VERSION_N }}
@@ -66,7 +66,7 @@ jobs:
6666
6767
# Checkout the release branch to apply the updates
6868
- name: Checkout release branch
69-
uses: actions/checkout@v3
69+
uses: actions/checkout@v4
7070
with:
7171
ref: ${{ env.DIGEST_UPDATER_BRANCH }}
7272

@@ -111,7 +111,7 @@ jobs:
111111
112112
# Get the latest weekly build commit hash: https://github.com/opendatahub-io/notebooks/commits/2023b
113113
- name: Checkout upstream notebooks repo
114-
uses: actions/checkout@v3
114+
uses: actions/checkout@v4
115115
with:
116116
repository: opendatahub-io/notebooks.git
117117
ref: ${{ env.RELEASE_VERSION_N_1 }}
@@ -124,7 +124,7 @@ jobs:
124124
125125
# Checkout the release branch to apply the updates
126126
- name: Checkout release branch
127-
uses: actions/checkout@v3
127+
uses: actions/checkout@v4
128128
with:
129129
ref: ${{ env.DIGEST_UPDATER_BRANCH }}
130130

@@ -164,7 +164,7 @@ jobs:
164164
pull-requests: write
165165
steps:
166166
- name: Checkout repo
167-
uses: actions/checkout@v3
167+
uses: actions/checkout@v4
168168

169169
- name: pull-request
170170
uses: repo-sync/pull-request@v2

.github/workflows/params-env.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
validation-of-params-env:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616

1717
- name: Install dependencies
1818
run: |

.github/workflows/piplock-renewal-2023a.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
steps:
2222
# Checkout the paricular branch
2323
- name: Checkout code from the release branch
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525
with:
2626
ref: 2023a
2727
token: ${{ secrets.GH_ACCESS_TOKEN }}
2828

2929
# Setup Python environment
3030
- name: Setup Python environment
31-
uses: actions/setup-python@v4
31+
uses: actions/setup-python@v5
3232
with:
3333
python-version: |
3434
3.8

.github/workflows/piplock-renewal-2023b.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
steps:
2222
# Checkout the paricular branch
2323
- name: Checkout code from the release branch
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525
with:
2626
ref: 2023b
2727
token: ${{ secrets.GH_ACCESS_TOKEN }}
2828

2929
# Setup Python environment
3030
- name: Setup Python environment
31-
uses: actions/setup-python@v4
31+
uses: actions/setup-python@v5
3232
with:
3333
python-version: |
3434
3.8

.github/workflows/pr-merge-image-delete.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Git checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: '0'
2020
- name: Install skopeo
@@ -23,7 +23,7 @@ jobs:
2323
sudo apt-get -y update
2424
sudo apt-get -y install skopeo
2525
- name: Get Pull Request Number
26-
uses: actions/github-script@v6
26+
uses: actions/github-script@v7
2727
id: get_pr_number
2828
with:
2929
script: |

.github/workflows/sec-scan.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
2929
# Checkout the branch
3030
- name: Checkout branch
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
with:
3333
ref: ${{ env.BRANCH_NAME }}
3434

@@ -52,7 +52,7 @@ jobs:
5252
5353
# Get the latest weekly build commit hash: https://github.com/opendatahub-io/notebooks/commits/2023b
5454
- name: Checkout upstream notebooks repo
55-
uses: actions/checkout@v3
55+
uses: actions/checkout@v4
5656
with:
5757
repository: opendatahub-io/notebooks.git
5858
ref: ${{ env.RELEASE_VERSION_N }}
@@ -64,7 +64,7 @@ jobs:
6464
echo "HASH_N=$(git rev-parse --short HEAD)" >> ${GITHUB_OUTPUT}
6565
6666
- name: Checkout "N - 1" branch
67-
uses: actions/checkout@v3
67+
uses: actions/checkout@v4
6868
with:
6969
repository: opendatahub-io/notebooks.git
7070
ref: ${{ env.RELEASE_VERSION_N_1 }}
@@ -76,7 +76,7 @@ jobs:
7676
echo "HASH_N_1=$(git rev-parse --short HEAD)" >> ${GITHUB_OUTPUT}
7777
7878
- name: Checkout "main" branch
79-
uses: actions/checkout@v3
79+
uses: actions/checkout@v4
8080
with:
8181
repository: opendatahub-io/notebooks.git
8282
ref: main
@@ -89,12 +89,12 @@ jobs:
8989
9090
# Checkout the release branch to apply the updates
9191
- name: Checkout release branch
92-
uses: actions/checkout@v3
92+
uses: actions/checkout@v4
9393
with:
9494
ref: ${{ env.SEC_SCAN_BRANCH }}
9595

9696
- name: setup python
97-
uses: actions/setup-python@v4
97+
uses: actions/setup-python@v5
9898
with:
9999
python-version: '3.10' # install the python version needed
100100

@@ -126,7 +126,7 @@ jobs:
126126
pull-requests: write
127127
steps:
128128
- name: Checkout repo
129-
uses: actions/checkout@v3
129+
uses: actions/checkout@v4
130130

131131
- name: pull-request
132132
uses: repo-sync/pull-request@v2

0 commit comments

Comments
 (0)