You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pegasus.apache.org by zh...@apache.org on 2022/01/25 10:21:22 UTC
[incubator-pegasus] branch master updated: build: require add issue reference in description using github action (#870)
This is an automated email from the ASF dual-hosted git repository.
zhaoliwei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
The following commit(s) were added to refs/heads/master by this push:
new bc93110 build: require add issue reference in description using github action (#870)
bc93110 is described below
commit bc931108f16cd60d97f41896f31af81562ba5217
Author: Jiashuo <js...@live.com>
AuthorDate: Tue Jan 25 18:21:14 2022 +0800
build: require add issue reference in description using github action (#870)
---
.github/workflows/ci-pull-request-issue.yaml | 37 ++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/.github/workflows/ci-pull-request-issue.yaml b/.github/workflows/ci-pull-request-issue.yaml
new file mode 100644
index 0000000..8d4a48b
--- /dev/null
+++ b/.github/workflows/ci-pull-request-issue.yaml
@@ -0,0 +1,37 @@
+#
+# 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: Issue check
+
+on:
+ pull_request:
+ types: ['opened', 'edited', 'reopened', 'synchronize']
+
+jobs:
+ title:
+ name: Issue check
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Check for ticket
+ uses: neofinancial/ticket-check-action@v1.3.0
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ ticketPrefix: '#'
+ bodyURLRegex: 'http(s?):\/\/(github.com)(\/apache)(\/incubator-pegasus)(\/issues)\/\d+'
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pegasus.apache.org
For additional commands, e-mail: commits-help@pegasus.apache.org