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
Run the issue-labeler over pull requests using polling (#14280)
Copilot-authored pull requests run workflows with permissions lower than
other PRs (including those submitted by external contributors). This
blocks the issue-labeler workflow from being able to run on those PRs,
leaving a prompt for the workflow to be approved.
To run issue-labeler over these PRs as well as other PRs that have
missed labeling (such as GitHub service interruptions when the events
don't trigger), the PR label prediction workflow adds a cron schedule
for as frequently as GitHub will run it (by using every 5 minutes). When
triggered from the polling event, we collect the list of open and
unlabeled PRs that have been updated since the last polling run (plus 5
extra minutes), and we run the issue-labeler prediction against those.
This also updates the workflow_dispatch event to allow an empty list of
PR numbers to force a polling event run.
Addresses [(dotnet/issue-labeler#105) Pull Request Labeling does not run
automatically for Copilot
PRs](dotnet/issue-labeler#105) for this
repository. Replicates dotnet/.github#20 and dotnet/runtime#124023.
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/winforms/pull/14280)
0 commit comments