From e2d7ec4a1aa4e024e6e49397eb46af5dee287615 Mon Sep 17 00:00:00 2001 From: Lucas Vogel Date: Thu, 2 May 2024 08:54:10 -0400 Subject: [PATCH] ci: Add add-issues-to-project github action --- .github/workflows/add-issues-to-project.yml | 18 ++++++++++++++++++ 1 file changed, 18 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 00000000..effb8f59 --- /dev/null +++ b/.github/workflows/add-issues-to-project.yml @@ -0,0 +1,18 @@ +name: Add issues tagged "project" to GH Project + +on: + issues: + types: + - labeled + +jobs: + add-to-project: + name: Add issue to project if tagged "project" + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@1.0.1 + with: + project-url: https://github.com/orgs/SocialChangeLab/projects/2 + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + labeled: project +