ci: assigner: Use zephyrbot token
This commit updates the pull request assigner workflow to use the zephyrbot token instead of the workflow token. Note that the workflow token, by design, cannot access the organisation-level user membership information, and may cause the assigner script to return `Skip 'user': not in collaborators` even for valid collaborators. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
parent
eb06ff8d3a
commit
63bf487a56
2
.github/workflows/assigner.yml
vendored
2
.github/workflows/assigner.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
||||
|
||||
- name: Run assignment script
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.ZB_PR_ASSIGNER_GITHUB_TOKEN }}
|
||||
run: |
|
||||
FLAGS="-v"
|
||||
FLAGS+=" -o ${{ github.event.repository.owner.login }}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user