From 13a85c42f3becb4f912dc3c9cf95d6d1b4c62a0c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 22 Feb 2026 03:21:13 +0000 Subject: [PATCH 1/3] Initial plan From b4e5f0be80b382b6d5d13038ff09c6345e22423d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 22 Feb 2026 03:23:02 +0000 Subject: [PATCH 2/3] Update milestone workflow: rename and add BornToBeRoot maintainer Co-authored-by: BornToBeRoot <16019165+BornToBeRoot@users.noreply.github.com> --- .github/workflows/milestone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/milestone.yml b/.github/workflows/milestone.yml index 8808931af1..cf6abe3078 100644 --- a/.github/workflows/milestone.yml +++ b/.github/workflows/milestone.yml @@ -1,4 +1,4 @@ -name: Assign milestone to automated PRs +name: Assign milestone to PRs on: pull_request_target: @@ -8,7 +8,7 @@ jobs: assign-milestone: name: Assign next-release milestone runs-on: ubuntu-latest - if: contains(fromJSON('["dependabot[bot]", "transifex-integration[bot]", "imgbot[bot]", "Copilot"]'), github.event.pull_request.user.login) + if: contains(fromJSON('["dependabot[bot]", "transifex-integration[bot]", "imgbot[bot]", "Copilot", "BornToBeRoot"]'), github.event.pull_request.user.login) permissions: issues: write pull-requests: write From c115055715e1e9b36238833a9350d50d3196c2af Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 22 Feb 2026 03:32:14 +0000 Subject: [PATCH 3/3] Add label workflow and remove duplicate labels from dependabot config Co-authored-by: BornToBeRoot <16019165+BornToBeRoot@users.noreply.github.com> --- .github/dependabot.yml | 6 ------ .github/workflows/label.yml | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/label.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4c6a3020c5..67cfdb6963 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,8 +7,6 @@ updates: target-branch: main commit-message: prefix: "Dependency (dependabot/nuget):" - labels: - - ":heavy_check_mark: dependencies" - package-ecosystem: "dotnet-sdk" directory: "/Source" ignore: @@ -20,8 +18,6 @@ updates: target-branch: main commit-message: prefix: "Dependency (dependabot/dotnet-sdk):" - labels: - - ":heavy_check_mark: dependencies" - package-ecosystem: "npm" directory: "/Website" schedule: @@ -29,5 +25,3 @@ updates: target-branch: main commit-message: prefix: "Dependency (dependabot/npm):" - labels: - - ":heavy_check_mark: dependencies" diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 0000000000..7ff9c4fdf6 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,25 @@ +name: Assign label to PRs + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + assign-dependencies-label: + name: Assign dependencies label + runs-on: ubuntu-latest + if: contains(fromJSON('["dependabot[bot]", "transifex-integration[bot]", "imgbot[bot]"]'), github.event.pull_request.user.login) + permissions: + issues: write + pull-requests: write + steps: + - name: Assign label + uses: actions/github-script@v7 + with: + script: | + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.payload.pull_request.number, + labels: [':heavy_check_mark: dependencies'] + });