From e86b5e278cadc894fd4dee4df5354cba1040fae7 Mon Sep 17 00:00:00 2001 From: Katie McLaughlin Date: Mon, 14 Sep 2026 11:01:44 +0800 Subject: [PATCH] Add new workflow new-pr.yml --- .github/workflows/new-pr.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/new-pr.yml diff --git a/.github/workflows/new-pr.yml b/.github/workflows/new-pr.yml new file mode 100644 index 00000000..160ba244 --- /dev/null +++ b/.github/workflows/new-pr.yml @@ -0,0 +1,21 @@ +name: New Pull Request + +on: + pull_requests: + types: + - opened + - reopened + - transferred + +jobs: + add-to-project: + name: Add issue to BeeWare PR project board + runs-on: ubuntu-latest + # The add-to-project action authenticates with BRUTUS_PAT_TOKEN, so the + # job's own GITHUB_TOKEN needs no permissions. + permissions: {} + steps: + - uses: actions/add-to-project@5afcf98fcd03f1c2f92c3c83f58ae24323cc57fd # v2.0.0 + with: + project-url: https://github.com/orgs/beeware/projects/3 # Pull Request board + github-token: ${{ secrets.BRUTUS_PAT_TOKEN }}