Skip to content

Commit 63bf487

Browse files
committed
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>
1 parent eb06ff8 commit 63bf487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/assigner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
4545
- name: Run assignment script
4646
env:
47-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
GITHUB_TOKEN: ${{ secrets.ZB_PR_ASSIGNER_GITHUB_TOKEN }}
4848
run: |
4949
FLAGS="-v"
5050
FLAGS+=" -o ${{ github.event.repository.owner.login }}"

0 commit comments

Comments
 (0)