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 00:18:02 UTC

[airflow-client-python] 01/01: Add stale bot

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

eladkal pushed a commit to branch stale
in repository https://gitbox.apache.org/repos/asf/airflow-client-python.git

commit ec019cffe425426382782dff3758232b94ae153e
Author: Elad Kalif <eladkal 45845474+eladkal@users.noreply.github.com>
AuthorDate: Sat Feb 11 02:17:47 2023 +0200

    Add stale bot
---
 .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