This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update autolabel because Dependabot sucks
Dependabot runs PRs in a way that makes them appear as a fork, so as a result the pull_request action runs with a read-only token. That breaks label creation, which is super annoying. Switching to pull_request_target runs with a read-write token, but introduces a security risk if the action isn't careful. The action as-is is fine, but addtions need to be careful. Added a comment to that end. actions/labeler#136 https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target
- Loading branch information