You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by pe...@apache.org on 2022/08/10 08:21:24 UTC

[pulsar] 01/01: [feat][ci] Add flaky test issues and PRs to flaky test project

This is an automated email from the ASF dual-hosted git repository.

penghui pushed a commit to branch codelipenghui-patch-1
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit 34c0742fdc5cda375ac8b9282c022567ccdf2fdf
Author: Penghui Li <pe...@apache.org>
AuthorDate: Wed Aug 10 16:21:14 2022 +0800

    [feat][ci] Add flaky test issues and PRs to flaky test project
---
 .github/workflows/project-flaky-test.yml | 42 ++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/.github/workflows/project-flaky-test.yml b/.github/workflows/project-flaky-test.yml
new file mode 100644
index 00000000000..955a4e8acde
--- /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