From 9a1123239ff703b4f9b5eb537314e75b6c3152c1 Mon Sep 17 00:00:00 2001 From: Yifeng Wang Date: Thu, 16 Feb 2023 08:46:17 +0800 Subject: [PATCH] ci: add to project setup (#1038) --- .github/workflows/add-to-project.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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 0000000000..55db51db74 --- /dev/null +++ b/.github/workflows/add-to-project.yml @@ -0,0 +1,26 @@ +name: Add to GitHub projects + +on: + issues: + types: + - opened + - transferred + - labeled + pull_request: + types: + - opened + - labeled + +jobs: + add-to-project: + name: Add issues and pull requests + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.4.0 + with: + # You can target a repository in a different organization + # to the issue + project-url: https://github.com/orgs/toeverything/projects/10 + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + # labeled: bug, needs-triage + # label-operator: OR