mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-12 09:21:49 -05:00
[PR #1153] [MERGED] fix(ci): auto-label permissions for fork PRs #1144
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1153
Author: @profvjreddi
Created: 2/4/2026
Status: ✅ Merged
Merged: 2/4/2026
Merged by: @profvjreddi
Base:
dev← Head:fix/auto-label-permissions📝 Commits (1)
83a3ce3fix(ci): use pull_request_target for auto-label write permissions📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
.github/workflows/auto-label.yml(+1 -1)📄 Description
Summary
pull_request→pull_request_targetin auto-label workflowRoot cause
GitHub downgrades
GITHUB_TOKENto read-only forpull_requestevents from forks.pull_request_targetruns in the base repo context, granting the declaredissues: writeandpull-requests: writepermissions.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.