From f954fef2e6985ee02e05398859c231b84dcfa2e4 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 10 Dec 2025 20:00:59 +0000 Subject: [PATCH 1/2] chore: Add workflow to auto-label community PRs from forks Co-Authored-By: AJ Steers --- .github/workflows/label-community-prs.yml | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/label-community-prs.yml diff --git a/.github/workflows/label-community-prs.yml b/.github/workflows/label-community-prs.yml new file mode 100644 index 000000000..f656129fc --- /dev/null +++ b/.github/workflows/label-community-prs.yml @@ -0,0 +1,27 @@ +name: Label Community PRs + +# This workflow automatically adds the "community" label to PRs from forks. +# This enables automatic tracking on the Community PRs project board. + +on: + pull_request_target: + types: + - opened + - reopened + +jobs: + label-community-pr: + name: Add "Community" Label to PR + # Only run for PRs from forks + if: github.event.pull_request.head.repo.fork == true + runs-on: ubuntu-24.04 + permissions: + issues: write + pull-requests: write + steps: + - name: Add community label + # This action uses GitHub's addLabels API, which is idempotent. + # If the label already exists, the API call succeeds without error. + uses: actions-ecosystem/action-add-labels@bd52874380e3909a1ac983768df6976535ece7f8 # v1.1.3 + with: + labels: community From a361abac0a85fe5494e3084e57616ebfad26618f Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 10 Dec 2025 20:11:48 +0000 Subject: [PATCH 2/2] fix: Add missing github_token to community label workflow Co-Authored-By: AJ Steers --- .github/workflows/label-community-prs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/label-community-prs.yml b/.github/workflows/label-community-prs.yml index f656129fc..dcd2f9e2a 100644 --- a/.github/workflows/label-community-prs.yml +++ b/.github/workflows/label-community-prs.yml @@ -24,4 +24,5 @@ jobs: # If the label already exists, the API call succeeds without error. uses: actions-ecosystem/action-add-labels@bd52874380e3909a1ac983768df6976535ece7f8 # v1.1.3 with: + github_token: ${{ secrets.GITHUB_TOKEN }} labels: community