From 29f31cd4622fcf220cd24fa2892ace155c40179f Mon Sep 17 00:00:00 2001 From: sua yoo Date: Tue, 28 Feb 2023 18:37:01 -0800 Subject: [PATCH] ci: add workflows for adding issues to project (#660) --- .github/workflows/project-assign-issue.yml | 15 +++++++++++++++ .github/workflows/project-new-issue.yml | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/workflows/project-assign-issue.yml create mode 100644 .github/workflows/project-new-issue.yml diff --git a/.github/workflows/project-assign-issue.yml b/.github/workflows/project-assign-issue.yml new file mode 100644 index 00000000..524e44d4 --- /dev/null +++ b/.github/workflows/project-assign-issue.yml @@ -0,0 +1,15 @@ +name: Update assigned issues in Webrecorder Projects + +on: + issues: + types: [assigned] + +jobs: + move-issue-column: + runs-on: ubuntu-latest + steps: + - uses: alex-page/github-project-automation-plus@v0.8.3 + with: + project: Webrecorder Projects + column: Todo + repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/project-new-issue.yml b/.github/workflows/project-new-issue.yml new file mode 100644 index 00000000..ffbb9969 --- /dev/null +++ b/.github/workflows/project-new-issue.yml @@ -0,0 +1,15 @@ +name: Assign new issues to Webrecorder Projects + +on: + issues: + types: [opened] + +jobs: + move-issue-column: + runs-on: ubuntu-latest + steps: + - uses: alex-page/github-project-automation-plus@v0.8.3 + with: + project: Webrecorder Projects + column: Triage + repo-token: ${{ secrets.GITHUB_TOKEN }}