Grant permissions to read package repository to build step

This commit is contained in:
Robert Taylor 2023-08-12 21:47:53 +00:00 committed by Rob Taylor
parent 5a8d94c50d
commit 08aa763619
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,8 @@ jobs:
build_wheels: build_wheels:
name: Build wheel for ${{ matrix.python }}-${{ matrix.buildplat[1] }} name: Build wheel for ${{ matrix.python }}-${{ matrix.buildplat[1] }}
needs: build-custom-manylinux needs: build-custom-manylinux
permissions:
packages: read
runs-on: ${{ matrix.buildplat[0] }} runs-on: ${{ matrix.buildplat[0] }}
strategy: strategy:
# Ensure that a wheel builder finishes even if another fails # Ensure that a wheel builder finishes even if another fails