Skip to content
Merged
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
14 changes: 14 additions & 0 deletions .github/workflows/custom-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ on:
When this is non-empty, that secret's value is used in place of the default repo-level token
anywhere that environment variable GH_TOKEN is set. This is especially useful for downloading
artifacts from other private repos, which repo tokens do not have access to.
requires_license_builder:
description: "Whether to ensure license builder scripts are provided in 'tools/'"
default: false
type: boolean
required: false

defaults:
run:
Expand Down Expand Up @@ -187,6 +192,15 @@ jobs:
env:
# NEEDS alternative-gh-token-secret_name - API limits need to be for whatever token is used for upload/download. Repo token may be a different pool for rate limits.
GH_TOKEN: ${{ inputs.alternative-gh-token-secret-name && secrets[inputs.alternative-gh-token-secret-name] || github.token }} # zizmor: ignore[overprovisioned-secrets]
- name: Get RAPIDS License Builder
if: ${{ inputs.requires_license_builder }}
uses: actions/checkout@v6
with:
repository: "rapidsai/spdx-license-builder"
ref: "refs/heads/main"
path: "./tool/"
fetch-depth: 0
persist-credentials: false
- name: Run script
run: |
ulimit -n $(ulimit -Hn)
Expand Down