From 87fa6cf5eafb41bc63f5fb28df6912ace6a0777e Mon Sep 17 00:00:00 2001 From: Martin Oppitz <6279703+deleonio@users.noreply.github.com> Date: Tue, 18 Nov 2025 02:13:40 +0100 Subject: [PATCH] chore(ci): auto-assign issues to project --- .github/workflows/add-issues-to-project.yml | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/add-issues-to-project.yml diff --git a/.github/workflows/add-issues-to-project.yml b/.github/workflows/add-issues-to-project.yml new file mode 100644 index 0000000000..a5e97a112b --- /dev/null +++ b/.github/workflows/add-issues-to-project.yml @@ -0,0 +1,27 @@ +name: Add Issues to Project + +# Requires a repository variable named `PUBLIC_UI_PROJECT_URL` that contains the +# GitHub Project (beta) URL. The workflow uses the default `GITHUB_TOKEN`, so no +# additional PAT secret is necessary. + +on: + issues: + types: + - opened + - reopened + - transferred + +permissions: + contents: read + issues: write + +jobs: + add-to-project: + name: Add issue to roadmap project + runs-on: ubuntu-latest + steps: + - name: Add issue to organization project + uses: actions/add-to-project@v1.0.2 + with: + project-url: ${{ vars.PUBLIC_UI_PROJECT_URL }} // see https://github.com/organizations/public-ui/settings/variables/actions + github-token: ${{ secrets.GITHUB_TOKEN }}