You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitHub is going to disable pull_request_target triggers by default across all repos. They can be anabled with actions policies, but rather than go against that, I am investigating migrating the workflows to a safer trigger.
Why
From 2 December 2026 GitHub blocks pull_request_target by default in public repositories. A workflow that uses it stops running unless an Actions policy allows it.
GitHub ran a brownout on 16 November 2026, which failed 92 runs in esphome/esphome alone.
pull_request_target runs on pull requests from forks with a write token and the repository's secrets, while the pull request author controls the title, body, branch name and files. That combination is the usual cause of workflow security problems, which is why GitHub is turning it off by default.
The goal is for every one of these workflows to keep doing its job for pull requests from forks, on a trigger that cannot hand fork-controlled input a write token or a secret.
Scope
28 workflow files across 7 repositories used pull_request_target. One is already moved (imgbot-auto-merge.yml, esphome/esphome.io#8187). The other 27 each have a sub-issue in their own repository:
Activity
close-pr-from-fork-default-branch.ymloffpull_request_targetaioesphomeapi#2024labeler.ymloffpull_request_targetaioesphomeapi#2025request-copilot-review.ymloffpull_request_targetaioesphomeapi#2026close-uneditable-fork-pr.ymloffpull_request_targetdevice-builder#3082dependabot-auto-merge.ymloffpull_request_targetdevice-builder#3083auto-approve-dependabot.ymloffpull_request_targetdevice-builder-frontend#2105pr-labels.yamloffpull_request_targetdevice-builder-frontend#2106request-copilot-review.ymloffpull_request_targetdevice-builder-frontend#2107pr-labels.yamloffpull_request_targetdevice-builder#3084regen-board-catalog.ymloffpull_request_targetdevice-builder#3085request-copilot-review.ymloffpull_request_targetdevice-builder#30861 remaining item
label-pr-type.ymloffpull_request_targetdevices.esphome.io#2013made-for-esphome-pr.ymloffpull_request_targetdevices.esphome.io#2014merge-conflicts.ymloffpull_request_targetdevices.esphome.io#2015request-copilot-review.ymloffpull_request_targetdevices.esphome.io#2016auto-label-pr.ymloffpull_request_targetesphome#22941close-pr-from-fork-default-branch.ymloffpull_request_targetesphome#22942codeowner-approved-label-update.ymloffpull_request_targetesphome#22943codeowner-review-request.ymloffpull_request_targetesphome#22944external-component-bot.ymloffpull_request_targetesphome#22945auto-label-pr.ymloffpull_request_targetesphome.io#8188check-component-index.ymloffpull_request_targetesphome.io#8189close-pr-from-fork-default-branch.ymloffpull_request_targetesphome.io#8190labeller-recheck.ymloffpull_request_targetesphome.io#8191sync-dependency-versions.ymloffpull_request_targetesphome#22946request-copilot-review.ymloffpull_request_targetesphome-webserver#254