From 156d5977a1ac617094311aebe835d62275be236a Mon Sep 17 00:00:00 2001 From: Chris Pine Date: Tue, 13 Feb 2024 12:07:04 -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 0000000..e3c0b42 --- /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