[llvm] workflows: Fix missing GITHUB_TOKEN in release-doxygen.yml upload step (PR #91091)
via llvm-commits
llvm-commits at lists.llvm.org
Sat May 4 14:40:39 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Tom Stellard (tstellar)
<details>
<summary>Changes</summary>
We were accidentally setting the GITHUB_TOKEN environment variable in the previous step.
---
Full diff: https://github.com/llvm/llvm-project/pull/91091.diff
1 Files Affected:
- (modified) .github/workflows/release-doxygen.yml (+2-2)
``````````diff
diff --git a/.github/workflows/release-doxygen.yml b/.github/workflows/release-doxygen.yml
index 5e322849a1d093..12c14bea52f624 100644
--- a/.github/workflows/release-doxygen.yml
+++ b/.github/workflows/release-doxygen.yml
@@ -56,12 +56,12 @@ jobs:
pip3 install --user -r ./llvm/docs/requirements.txt
- name: Build Doxygen
- env:
- GITHUB_TOKEN: ${{ github.token }}
run: |
./llvm/utils/release/build-docs.sh -release "${{ inputs.release-version }}" -no-sphinx
- name: Upload Doxygen
if: env.upload
+ env:
+ GITHUB_TOKEN: ${{ github.token }}
run: |
./llvm/utils/release/github-upload-release.py --token "$GITHUB_TOKEN" --release "${{ inputs.release-version }}" --user "${{ github.actor }}" upload --files ./*doxygen*.tar.xz
``````````
</details>
https://github.com/llvm/llvm-project/pull/91091
More information about the llvm-commits
mailing list