From d1e1cb043dce5fcf6684dacc89d74a6e6737b5ad Mon Sep 17 00:00:00 2001 From: "Curtis.Bezault" Date: Wed, 13 May 2020 09:17:08 -0700 Subject: [PATCH 1/3] Try out a GH action --- .github/workflows/new-pr-triage.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/new-pr-triage.yml diff --git a/.github/workflows/new-pr-triage.yml b/.github/workflows/new-pr-triage.yml new file mode 100644 index 00000000000..0cd307f0c4b --- /dev/null +++ b/.github/workflows/new-pr-triage.yml @@ -0,0 +1,15 @@ +name: Move new PRs to New board in the Code Reviews Project + +on: + pull_request: + types: [opened, reopened] + +jobs: + automate-project-columns: + runs-on: ubuntu-latest + steps: + - uses: alex-page/github-project-automation-plus@v0.2.3 + with: + project: "Code Reviews" + column: New + repo-token: ${{ secrets.GH_TOKEN }} From c072dfb053c33568c90824e8c86aafc0e11766b0 Mon Sep 17 00:00:00 2001 From: "Curtis.Bezault" Date: Wed, 13 May 2020 14:37:07 -0700 Subject: [PATCH 2/3] Add a copyright banner --- .github/workflows/new-pr-triage.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/new-pr-triage.yml b/.github/workflows/new-pr-triage.yml index 0cd307f0c4b..b1359aa97f3 100644 --- a/.github/workflows/new-pr-triage.yml +++ b/.github/workflows/new-pr-triage.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + name: Move new PRs to New board in the Code Reviews Project on: From d3df41e052e7b72ef3a5b00242896a4b18b72a28 Mon Sep 17 00:00:00 2001 From: Curtis J Bezault Date: Thu, 14 May 2020 08:19:51 -0700 Subject: [PATCH 3/3] Update .github/workflows/new-pr-triage.yml Co-authored-by: Stephan T. Lavavej --- .github/workflows/new-pr-triage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/new-pr-triage.yml b/.github/workflows/new-pr-triage.yml index b1359aa97f3..af83709ce01 100644 --- a/.github/workflows/new-pr-triage.yml +++ b/.github/workflows/new-pr-triage.yml @@ -1,7 +1,7 @@ # Copyright (c) Microsoft Corporation. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -name: Move new PRs to New board in the Code Reviews Project +name: Move new PRs to the New column in the Code Reviews Project on: pull_request: