Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build_and_push_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
# qemu is required for arm64 builds
sudo apt install -y buildah qemu-user-static
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
# Fetch submodules (required for lightspeed-providers)
submodules: 'recursive'
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/e2e_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
FAISS_VECTOR_STORE_ID: ${{ vars.FAISS_VECTOR_STORE_ID }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
# On PR_TARGET → the fork (or same repo) that opened the PR.
# On push → falls back to the current repository.
Expand All @@ -31,6 +31,11 @@ jobs:
# On push → the pushed commit that triggered the workflow.
ref: ${{ github.event.pull_request.head.ref || github.sha }}

# Tests need access to secrets.
# This should be refactored if possible to mitigate the risk.
# https://docs.github.com/en/actions/reference/security/securely-using-pull_request_target
allow-unsafe-pr-checkout: true

# Don’t keep credentials when running untrusted PR code under PR_TARGET.
persist-credentials: ${{ github.event_name != 'pull_request_target' }}

Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/e2e_tests_providers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
FAISS_VECTOR_STORE_ID: ${{ vars.FAISS_VECTOR_STORE_ID }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
# On PR_TARGET → the fork (or same repo) that opened the PR.
# On push → falls back to the current repository.
Expand All @@ -37,6 +37,11 @@ jobs:
# On push → the pushed commit that triggered the workflow.
ref: ${{ github.event.pull_request.head.ref || github.sha }}

# Tests need access to secrets.
# This should be refactored if possible to mitigate the risk.
# https://docs.github.com/en/actions/reference/security/securely-using-pull_request_target
allow-unsafe-pr-checkout: true

# Don’t keep credentials when running untrusted PR code under PR_TARGET.
persist-credentials: ${{ github.event_name != 'pull_request_target' }}

Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/e2e_tests_rhaiis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
FAISS_VECTOR_STORE_ID: ${{ vars.FAISS_VECTOR_STORE_ID }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
# On PR_TARGET → the fork (or same repo) that opened the PR.
# On push → falls back to the current repository.
Expand All @@ -38,6 +38,11 @@ jobs:
# On push → the pushed commit that triggered the workflow.
ref: ${{ github.event.pull_request.head.ref || github.sha }}

# Tests need access to secrets.
# This should be refactored if possible to mitigate the risk.
# https://docs.github.com/en/actions/reference/security/securely-using-pull_request_target
allow-unsafe-pr-checkout: true

# Don’t keep credentials when running untrusted PR code under PR_TARGET.
persist-credentials: ${{ github.event_name != 'pull_request_target' }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/radon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
pull-requests: read
name: "radon"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7
- uses: davidslusser/actions_python_radon@v1.0.0
with:
src: "src"
Expand Down
Loading