From 34c0742fdc5cda375ac8b9282c022567ccdf2fdf Mon Sep 17 00:00:00 2001 From: Penghui Li Date: Wed, 10 Aug 2022 16:21:14 +0800 Subject: [PATCH 1/2] [feat][ci] Add flaky test issues and PRs to flaky test project --- .github/workflows/project-flaky-test.yml | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/project-flaky-test.yml diff --git a/.github/workflows/project-flaky-test.yml b/.github/workflows/project-flaky-test.yml new file mode 100644 index 0000000000000..955a4e8acde65 --- /dev/null +++ b/.github/workflows/project-flaky-test.yml @@ -0,0 +1,42 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +name: 'Add flaky test issues and PRs to flaky test project' + +on: + issues: + types: + - opened + - labeled + pull_request: + types: + - opened + - labeled + +jobs: + add-to-project: + name: Add flaky test issues and PRs to flaky test project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@0.3.0 + with: + project-url: https://github.com/apache/pulsar/projects/11 + github-token: ${{ secrets.GITHUB_TOKEN }} + labeled: flaky-tests + label-operator: OR From 2caf0a32634b5a47d941333c9b81c4c01be14cda Mon Sep 17 00:00:00 2001 From: Penghui Li Date: Wed, 10 Aug 2022 20:20:58 +0800 Subject: [PATCH 2/2] Update project-flaky-test.yml --- .github/workflows/project-flaky-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/project-flaky-test.yml b/.github/workflows/project-flaky-test.yml index 955a4e8acde65..fe9261d41370b 100644 --- a/.github/workflows/project-flaky-test.yml +++ b/.github/workflows/project-flaky-test.yml @@ -34,7 +34,7 @@ jobs: name: Add flaky test issues and PRs to flaky test project runs-on: ubuntu-latest steps: - - uses: actions/add-to-project@0.3.0 + - uses: actions/add-to-project@v0.3.0 with: project-url: https://github.com/apache/pulsar/projects/11 github-token: ${{ secrets.GITHUB_TOKEN }}