commit | d4cb569b5d093d0013e670b5891abb2118409275 | [log] [tgz] |
---|---|---|
author | Farid Zakaria <fmzakari@google.com> | Fri Jan 26 10:49:28 2024 -0800 |
committer | GitHub <noreply@github.com> | Fri Jan 26 10:49:28 2024 -0800 |
tree | f8b653475ac3ae0228b7bdbc5cd63d19d13846b8 | |
parent | a404438cffcde8a61f698561139e00c7dd2de507 [diff] |
Change secret for wheel publishing (#1955) The workflow GitHub App default credential in OpenXLA cannot create GitHub releases. Follow the convention identified by IREE in OpenXLA which uses a [repository secret](https://github.com/openxla/iree/blob/79b6129e2333ae26e7e13b68c27566102dcece6e/.github/workflows/validate_and_publish_release.yml#L112C37-L112C55) linked to a developers credential with repo permissions. The secret created here was created by gleasonk@ and the secret at the moment of this commit belongs to fzakaria@. It is valid for 1-year.
diff --git a/.github/workflows/publishWheelRelease.yml b/.github/workflows/publishWheelRelease.yml index d560cfd..936543a 100644 --- a/.github/workflows/publishWheelRelease.yml +++ b/.github/workflows/publishWheelRelease.yml
@@ -122,7 +122,7 @@ uses: ncipollo/release-action@v1.13.0 with: artifacts: "${{ github.sha }}/*.whl" - token: "${{ secrets.GITHUB_TOKEN }}" + token: "${{ secrets.PUBLISH_ACCESS_TOKEN }}" # git describe in setup.py explicitly filters out this tag tag: "dev-wheels" name: "dev-wheels"