From 8ce5e9889e29f950d05bc9f9cc219e0a1a66c5a9 Mon Sep 17 00:00:00 2001 From: glorv Date: Mon, 16 Mar 2020 20:24:25 +0800 Subject: [PATCH] test: add github workflow to auto-assign failed test issue to solid tests project (#7102) Signed-off-by: glorv --- .../workflows/assign_failed_test_project.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/assign_failed_test_project.yml diff --git a/.github/workflows/assign_failed_test_project.yml b/.github/workflows/assign_failed_test_project.yml new file mode 100644 index 00000000000..99c511a8f75 --- /dev/null +++ b/.github/workflows/assign_failed_test_project.yml @@ -0,0 +1,21 @@ +name: Auto Assign Failed Test Issue to Solid Tests Project + +on: + issues: + types: [created] +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +jobs: + assign_bench_test_project: + runs-on: ubuntu-latest + name: Assign to Solid Tests Project + steps: + - name: Run issues assignment to project Solid Tests Kanban + uses: srggrs/assign-one-project-github-action@1.2.0 + if: | + github.event.issue.user.login == 'sre-bot' && + contains(github.event.issue.labels.*.name, 'component/test-bench') + with: + project: 'https://github.com/tikv/tikv/projects/14' + column_name: 'To do(in history)'