You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by bo...@apache.org on 2023/04/27 16:56:55 UTC

[streampipes] branch chore/stale-bot created (now fe25d5913)

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

bossenti pushed a change to branch chore/stale-bot
in repository https://gitbox.apache.org/repos/asf/streampipes.git


      at fe25d5913 feature: add workflow that stales PRs

This branch includes the following new commits:

     new fe25d5913 feature: add workflow that stales PRs

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[streampipes] 01/01: feature: add workflow that stales PRs

Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a commit to branch chore/stale-bot
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit fe25d59133b903740bf538ff54d7e45400be62ea
Author: bossenti <bo...@posteo.de>
AuthorDate: Thu Apr 27 18:56:01 2023 +0200

    feature: add workflow that stales PRs
---
 .github/workflows/stale-bot.yml | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/.github/workflows/stale-bot.yml b/.github/workflows/stale-bot.yml
new file mode 100644
index 000000000..8ef608f5a
--- /dev/null
+++ b/.github/workflows/stale-bot.yml
@@ -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: 'Close and remind stale PRs'
+on:
+  schedule:
+    - cron: '0 1 * * *'
+  workflow_dispatch:
+
+permissions:
+  pull-requests: write
+
+jobs:
+  mark-stale-prs:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/stale@v8
+        with:
+          close-pr-message: "Hello there :wave:<br> <br> Unfortunately, we didn't hear back from you regarding your pull request, so we're closing it now. Don't worry, you can always reopen the PR at any time if you wish to continue working on it :raised_hands:.<br> <br> Please note that the branch associated with this pull request will not be deleted, so you can still access your changes and continue to work on them as needed :computer:.<br> <br> Thank you for your contributions to our  [...]
+          days-before-close: 7
+          days-before-stale: 21
+          exempt-pr-labels: 'blocked'
+          labels-to-remove-when-unstale: 'stale'
+          stale-pr-label: 'stale'
+          stale-pr-message: "Hello there :wave:<br> <br> We noticed that it's been some time since activity occurred on your pull request :thinking:. In order to keep things moving forward, we're marking this PR as _stale_ and giving you 7 days to respond before it's automatically closed :alarm_clock:.<br> <br> Please take a moment to review your pull request and make any necessary updates or changes :man_technologist:. If you need more time or have any questions, please don't hesitate t [...]