From dbb412ce7471a62977dbd3be12b1c0202a31a2d7 Mon Sep 17 00:00:00 2001 From: Chris Pine Date: Tue, 13 Feb 2024 12:06:30 -0800 Subject: [PATCH] Create add-to-project workflow Creates GitHub workflow to add new issues/PRs to the project board, using the existing shared workflow. We first tested this in https://github.com/bufbuild/knit/pull/28 --- .github/workflows/add-to-project.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/add-to-project.yaml diff --git a/.github/workflows/add-to-project.yaml b/.github/workflows/add-to-project.yaml new file mode 100644 index 000000000..e3c0b4225 --- /dev/null +++ b/.github/workflows/add-to-project.yaml @@ -0,0 +1,21 @@ +name: Add issues and PRs to project + +on: + issues: + types: + - opened + - reopened + - transferred + pull_request_target: + types: + - opened + - reopened + issue_comment: + types: + - created + +jobs: + call-workflow-add-to-project: + name: Call workflow to add issue to project + uses: bufbuild/base-workflows/.github/workflows/add-to-project.yaml@main + secrets: inherit