mirror of
https://github.com/actions/labeler.git
synced 2025-12-13 13:07:24 +00:00
Update naming
This commit is contained in:
@@ -33,10 +33,9 @@ async function labeler() {
|
||||
|
||||
const client: ClientType = github.getOctokit(token, {}, pluginRetry.retry);
|
||||
|
||||
for await (const pullRequest of api.getChangedPullRequests(
|
||||
client,
|
||||
prNumbers
|
||||
)) {
|
||||
const pullRequests = api.getPullRequests(client, prNumbers);
|
||||
|
||||
for await (const pullRequest of pullRequests) {
|
||||
const labelGlobs: Map<string, StringOrMatchConfig[]> =
|
||||
await api.getLabelGlobs(client, configPath);
|
||||
const preexistingLabels = pullRequest.data.labels.map(l => l.name);
|
||||
|
||||
Reference in New Issue
Block a user