From 2844d903d1e266bbe6ed32a0050afc3b65ccbc28 Mon Sep 17 00:00:00 2001 From: AJ Schmidt Date: Thu, 11 May 2023 13:45:43 -0400 Subject: [PATCH] Fix GHAs Workflows The `rapids-env-update` command needs a `GH_TOKEN` environment for CI now due to the changes below: - https://github.com/rapidsai/gha-tools/pull/53 Similar to: https://github.com/rapidsai/shared-action-workflows/pull/87 --- .github/workflows/build.yaml | 2 ++ .github/workflows/pr.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0189fab24..47ea6e790 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -67,6 +67,8 @@ jobs: fetch-depth: 0 - name: Build wheel run: ci/build_python_pypi.sh + env: + GH_TOKEN: ${{ github.token }} - name: Publish distribution 📦 to PyPI if: inputs.build_type == 'nightly' uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index b5408e27d..7cf94c02f 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -58,3 +58,5 @@ jobs: fetch-depth: 0 - name: Build wheel run: ci/build_python_pypi.sh + env: + GH_TOKEN: ${{ github.token }}