From b13fefca3dcc0b5fb990c094f0914a1cc8dddb93 Mon Sep 17 00:00:00 2001 From: Nicolas Carenton Date: Mon, 9 Feb 2026 17:24:57 +0100 Subject: [PATCH] [tool] chore(ci): dd automation to add new issues/PRs to project (159) --- .github/workflows/add-to-project.yml | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/add-to-project.yml diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml new file mode 100644 index 00000000..c1304bd2 --- /dev/null +++ b/.github/workflows/add-to-project.yml @@ -0,0 +1,29 @@ +name: Add to Project +# This GitHub Actions workflow automatically adds newly opened issues and pull requests to a specific GitHub project. + +on: + issues: + types: + - opened + # Triggers the workflow when a new issue is opened in the repository. + pull_request: + types: + - opened + # Triggers the workflow when a new pull request is opened in the repository. + +jobs: + add-to-project: + name: Add issue to project + # Defines the job to add issues or pull requests to the specified GitHub project. + + runs-on: ubuntu-latest + # Specifies the environment where the job will run. In this case, it uses the latest Ubuntu runner. + + steps: + - uses: actions/add-to-project@v1.0.2 + # Uses the `actions/add-to-project` GitHub Action to add items to a GitHub project. + # This action simplifies the process of adding issues or pull requests to a project board. + + with: + project-url: https://github.com/orgs/FiligranHQ/projects/36 + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}