You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by el...@apache.org on 2023/02/11 07:33:26 UTC
[airflow-client-python] branch master updated: Add stale bot (#69)
This is an automated email from the ASF dual-hosted git repository.
eladkal pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow-client-python.git
The following commit(s) were added to refs/heads/master by this push:
new 43750ac Add stale bot (#69)
43750ac is described below
commit 43750ac3c76bd39e093a8a9b696c7db1efca214c
Author: eladkal <45...@users.noreply.github.com>
AuthorDate: Sat Feb 11 09:33:22 2023 +0200
Add stale bot (#69)
---
.github/workflows/stale.yml | 49 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 0000000..c7984d0
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,49 @@
+# 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.
+#
+---
+# https://github.com/actions/stale
+name: 'Close stale PRs & Issues'
+on: # yamllint disable-line rule:truthy
+ schedule:
+ - cron: '0 0 * * *'
+permissions:
+ # All other permissions are set to none
+ pull-requests: write
+ issues: write
+jobs:
+ stale:
+ runs-on: ubuntu-20.04
+ steps:
+ - uses: actions/stale@v5
+ with:
+ stale-pr-message: >
+ This pull request has been automatically marked as stale because it has not had
+ recent activity. It will be closed in 5 days if no further activity occurs. Thank you
+ for your contributions.
+ days-before-pr-stale: 45
+ days-before-pr-close: 5
+ exempt-pr-labels: 'pinned,security'
+ only-issue-labels: 'pending-response'
+ days-before-issue-stale: 30
+ days-before-issue-close: 7
+ stale-issue-message: >
+ This issue has been automatically marked as stale because it has been open for 30 days
+ with no response from the author. It will be closed in next 7 days if no further
+ activity occurs from the issue author.
+ close-issue-message: >
+ This issue has been closed because it has not received response from the issue author.
\ No newline at end of file