From 1f162e7e1c53c6f8e007fb4d70a49d8324e3e314 Mon Sep 17 00:00:00 2001 From: Ryo Suzumoto Date: Wed, 2 Mar 2022 16:56:18 +0900 Subject: [PATCH] add issue and pr to projects --- .github/workflows/add_issue_to_projects copy.yml | 15 +++++++++++++++ .github/workflows/add_pr_to_projects.yml | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/workflows/add_issue_to_projects copy.yml create mode 100644 .github/workflows/add_pr_to_projects.yml diff --git a/.github/workflows/add_issue_to_projects copy.yml b/.github/workflows/add_issue_to_projects copy.yml new file mode 100644 index 000000000..6af2b049d --- /dev/null +++ b/.github/workflows/add_issue_to_projects copy.yml @@ -0,0 +1,15 @@ +name: add issue to projects + +on: + issues: + types: [opened] + +jobs: + automate-project-columns: + runs-on: ubuntu-latest + steps: + - uses: alex-page/github-project-automation-plus@v0.8.1 + with: + project: C2A + column: Backlog + repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/add_pr_to_projects.yml b/.github/workflows/add_pr_to_projects.yml new file mode 100644 index 000000000..6567d71c0 --- /dev/null +++ b/.github/workflows/add_pr_to_projects.yml @@ -0,0 +1,15 @@ +name: add pr to projects + +on: + pull_request: + types: [assigned] + +jobs: + automate-project-columns: + runs-on: ubuntu-latest + steps: + - uses: alex-page/github-project-automation-plus@v0.8.1 + with: + project: C2A + column: Backlog + repo-token: ${{ secrets.GITHUB_TOKEN }}