Assign new pull requests to Code Review (#3393)

This commit is contained in:
Sam Huang 2023-02-13 16:32:44 -08:00 коммит произвёл GitHub
Родитель 580ae14276
Коммит 72c79f751b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 33 добавлений и 0 удалений

33
.github/workflows/assign-new-prs.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,33 @@
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: Assign New PR
on:
pull_request_target:
types: [opened]
branch:
- main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
initial-review:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
name: Initial Review
steps:
- name: Assign the New Pull Request
uses: srggrs/assign-one-project-github-action@1.3.1
with:
project: 'https://github.com/microsoft/STL/projects/1'
column_name: 'Initial Review'
work-in-progress:
if: github.event.pull_request.draft == true
runs-on: ubuntu-latest
name: Work In Progress
steps:
- name: Assign the New Pull Request
uses: srggrs/assign-one-project-github-action@1.3.1
with:
project: 'https://github.com/microsoft/STL/projects/1'
column_name: 'Work In Progress'