From d451ab6425755be2f8f1dcc726d18d81dc2feea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Fri, 12 Jan 2024 12:33:35 +0100 Subject: [PATCH] ci: auto-add issues and items to github 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..d4ab7a4 --- /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: + # https://github.com/actions/add-to-project + 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.GH_PROJECT_PERSONAL_ACCESS_TOKEN }}