Skip to content

Commit 50fb52c

Browse files
committed
Merge branch 'main' of https://github.com/opendatahub-io/notebooks into sync-downstr-3
2 parents a0be939 + 5da93af commit 50fb52c

File tree

134 files changed

+27183
-26422
lines changed

Some content is hidden

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

134 files changed

+27183
-26422
lines changed

.github/workflows/build-notebooks-TEMPLATE.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ jobs:
5959
echo "IMAGE_REGISTRY=${IMAGE_REGISTRY,,}" >>${GITHUB_ENV}
6060
echo "CACHE=${CACHE,,}" >>${GITHUB_ENV}
6161
62-
- uses: actions/checkout@v4
62+
- uses: actions/checkout@v5
6363
if: ${{ fromJson(inputs.github).event_name != 'pull_request_target' }}
6464
# we need to checkout the pr branch, not pr target (the default for pull_request_target)
6565
# user access check is done in calling workflow
66-
- uses: actions/checkout@v4
66+
- uses: actions/checkout@v5
6767
if: ${{ fromJson(inputs.github).event_name == 'pull_request_target' }}
6868
with:
6969
ref: "refs/pull/${{ fromJson(inputs.github).event.number }}/merge"

.github/workflows/build-notebooks-pr-rhel.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939
4040
# Here we are checking out the pull request, so that we can build from the new code
4141
# We can do this because we already checked that the submitting user is a contributor
42-
- uses: actions/checkout@v4
42+
- uses: actions/checkout@v5
4343
if: ${{ github.event_name == 'pull_request_target' }}
4444
with:
4545
ref: "refs/pull/${{ github.event.number }}/merge"
46-
- uses: actions/checkout@v4
46+
- uses: actions/checkout@v5
4747
if: ${{ github.event_name != 'pull_request_target' }}
4848

4949
- name: Determine targets to build based on changed files

.github/workflows/build-notebooks-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
matrix: ${{ steps.gen.outputs.matrix }}
2727
has_jobs: ${{ steps.gen.outputs.has_jobs }}
2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v5
3030

3131
- uses: actions/setup-go@v5
3232
with:

.github/workflows/build-notebooks-push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
matrix: ${{ steps.gen.outputs.matrix }}
2525
has_jobs: ${{ steps.gen.outputs.has_jobs }}
2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v5
2828

2929
- name: Determine targets to build (we want to build everything on push)
3030
run: |

.github/workflows/code-quality.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
check-generated-code:
1313
runs-on: ubuntu-24.04
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v5
1616

1717
- name: Rerun all code generators we have
1818
run: bash ci/generate_code.sh
@@ -32,7 +32,7 @@ jobs:
3232
pytest-tests:
3333
runs-on: ubuntu-latest
3434
steps:
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v5
3636

3737
# https://github.com/astral-sh/setup-uv
3838
- name: Install the latest version of uv
@@ -60,7 +60,7 @@ jobs:
6060
code-static-analysis:
6161
runs-on: ubuntu-latest
6262
steps:
63-
- uses: actions/checkout@v4
63+
- uses: actions/checkout@v5
6464

6565
- name: Do not check secrets, they are encrypted
6666
run: rm -rf ./ci/secrets

.github/workflows/create-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
runs-on: ubuntu-latest
4545
steps:
4646
- name: Check out repository
47-
uses: actions/checkout@v4
47+
uses: actions/checkout@v5
4848
with:
4949
fetch-depth: 0
5050
- name: Generate notebooks release

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Generate list of images for release notes
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2020

2121
# https://github.com/astral-sh/setup-uv
2222
- name: Install the latest version of uv

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
git config --global user.name "GitHub Actions"
5151
5252
- name: Checkout branch
53-
uses: actions/checkout@v4
53+
uses: actions/checkout@v5
5454
with:
5555
ref: ${{ env.BRANCH_NAME }}
5656

@@ -61,7 +61,7 @@ jobs:
6161
git push --set-upstream origin ${{ env.TMP_BRANCH }}
6262
6363
- name: Checkout release branch
64-
uses: actions/checkout@v4
64+
uses: actions/checkout@v5
6565
with:
6666
ref: ${{ env.TMP_BRANCH }}
6767
fetch-depth: 0

.github/workflows/notebooks-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
pr_merged_m: ${{ steps.check_pr.outputs.pr_merged }}
7373
steps:
7474
- name: Check out repository
75-
uses: actions/checkout@v4
75+
uses: actions/checkout@v5
7676
with:
7777
fetch-depth: 0
7878

@@ -105,7 +105,7 @@ jobs:
105105
pr_merged_b: ${{ steps.check_pr.outputs.pr_merged }}
106106
steps:
107107
- name: Check out repository
108-
uses: actions/checkout@v4
108+
uses: actions/checkout@v5
109109
with:
110110
fetch-depth: 0
111111

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Add Review Requested Label
3+
on: # yamllint disable-line rule:truthy
4+
# the regular `secrets.GITHUB_TOKEN` with `on: pull_request` results in a 403 error
5+
# HttpError: Resource not accessible by integration
6+
pull_request_target:
7+
types: [opened]
8+
9+
permissions:
10+
contents: read
11+
issues: write
12+
pull-requests: write
13+
14+
jobs:
15+
add-label:
16+
if: contains(github.event.pull_request.labels.*.name, 'konflux-nudge') == false
17+
runs-on: ubuntu-latest
18+
steps:
19+
20+
# SECURITY: never clone untrusted code in pull_request_target workflows
21+
22+
- name: Add review-requested label
23+
uses: actions/github-script@v7
24+
with:
25+
github-token: ${{ secrets.GITHUB_TOKEN }}
26+
# language=javascript
27+
script: |
28+
await github.rest.issues.addLabels({
29+
owner: context.repo.owner,
30+
repo: context.repo.repo,
31+
issue_number: context.payload.pull_request.number,
32+
labels: ['review-requested']
33+
});

0 commit comments

Comments
 (0)