From 9e8183ccfb4a57f85ff971b2b77500fc85b81360 Mon Sep 17 00:00:00 2001 From: Corey Daley Date: Wed, 9 Aug 2023 15:12:47 -0400 Subject: [PATCH] Add issues workflow and remove pull request template --- .github/pull_request_template.md | 52 -------------------------------- .github/workflows/issues.yml | 20 ++++++++++++ 2 files changed, 20 insertions(+), 52 deletions(-) delete mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/issues.yml diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index 9c0c0198e..000000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,52 +0,0 @@ -# Changes - - - - - - - -# Submitter Checklist - -- [ ] Includes tests if functionality changed/was added -- [ ] Includes docs if changes are user-facing -- [ ] [Set a kind label on this PR](https://prow.k8s.io/command-help#kind) -- [ ] Release notes block has been filled in, or marked NONE - -See [the contributor guide](https://github.com/shipwright-io/build/blob/main/CONTRIBUTING.md) -for details on coding conventions, github and prow interactions, and the code review process. - -# Release Notes - - diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml new file mode 100644 index 000000000..356b0cbb1 --- /dev/null +++ b/.github/workflows/issues.yml @@ -0,0 +1,20 @@ +name: Add issue or pull request to Project + +on: + issues: + types: + - opened + pull_request_target: + types: + - opened + - reopened + +jobs: + add-to-project: + runs-on: ubuntu-latest + steps: + - name: Add issue to project + uses: actions/add-to-project@v0.5.0 + with: + project-url: https://github.com/orgs/shipwright-io/projects/6 + github-token: ${{ secrets.ADD_TO_PROJECT_TOKEN }}