From 4e3e3e14e54294672bb27ddbd3af96aed13da011 Mon Sep 17 00:00:00 2001 From: Syed Muhammad Dawoud Sheraz Ali <40599381+DawoudSheraz@users.noreply.github.com> Date: Fri, 12 Jan 2024 16:10:53 +0500 Subject: [PATCH] build: Github action to auto-add new issues and PRs to project --- .github/workflows/auto-add-to-project.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/auto-add-to-project.yml diff --git a/.github/workflows/auto-add-to-project.yml b/.github/workflows/auto-add-to-project.yml new file mode 100644 index 0000000..a2fecf5 --- /dev/null +++ b/.github/workflows/auto-add-to-project.yml @@ -0,0 +1,20 @@ +name: Auto Add Issues and Pull Requests to Project + +on: + pull_request: + types: + - opened + issues: + types: + - opened + + +jobs: + add-to-project: + name: Add issue and bugs to project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.5.0 + with: + project-url: https://github.com/orgs/overhangio/projects/4 + github-token: ${{ secrets.ADD_TO_PROJECT_SECRET_TOKEN }}