From 1f3667eb3fd632534d98f77a70251b910efdc635 Mon Sep 17 00:00:00 2001 From: AJ Schmidt Date: Thu, 11 May 2023 13:32:08 -0400 Subject: [PATCH] Add `GH_TOKEN` to conda build jobs This PR adds a `GH_TOKEN` to the conda build jobs to account for the changes in the PR below: - https://github.com/rapidsai/gha-tools/pull/53 --- .github/workflows/conda-cpp-build.yaml | 2 ++ .github/workflows/conda-python-build.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/conda-cpp-build.yaml b/.github/workflows/conda-cpp-build.yaml index cd0403bc..340e6366 100644 --- a/.github/workflows/conda-cpp-build.yaml +++ b/.github/workflows/conda-cpp-build.yaml @@ -94,6 +94,8 @@ jobs: echo "RAPIDS_NIGHTLY_DATE=${{ inputs.date }}" >> "${GITHUB_ENV}" - name: C++ build run: ${{ inputs.build_script }} + env: + GH_TOKEN: ${{ github.token }} - name: Upload additional artifacts if: "!cancelled()" run: rapids-upload-artifacts-dir cuda${RAPIDS_CUDA_VERSION%%.*}_$(arch) diff --git a/.github/workflows/conda-python-build.yaml b/.github/workflows/conda-python-build.yaml index f7ef50cf..b6d8411e 100644 --- a/.github/workflows/conda-python-build.yaml +++ b/.github/workflows/conda-python-build.yaml @@ -95,6 +95,8 @@ jobs: echo "RAPIDS_NIGHTLY_DATE=${{ inputs.date }}" >> "${GITHUB_ENV}" - name: Python build run: ${{ inputs.build_script }} + env: + GH_TOKEN: ${{ github.token }} - name: Upload additional artifacts if: "!cancelled()" run: rapids-upload-artifacts-dir cuda${RAPIDS_CUDA_VERSION%%.*}_$(arch)_py${RAPIDS_PY_VERSION//.}