Skip to content
Closed
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
8 changes: 8 additions & 0 deletions .github/workflows/ccm-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,14 @@ jobs:
integration:
name: "Kubernetes ${{ matrix.kubernetes }}"
runs-on: ubuntu-latest
# Skip integration tests if the API token is missing (e.g., Dependabot or forks).
# Additionally, only run for PRs whose head repo matches this repository to
# avoid executing untrusted forked PR code with secrets.
# Admins can manually trigger this job for a specific branch via the 'Actions' tab
# using 'workflow_dispatch' after reviewing the code changes.
if: |
secrets.CLOUDSCALE_API_TOKEN != '' &&
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)

needs:
- lint
Expand Down