[PATCH rtems 2/2] github: Mark pull requests as stale
christian.mauderer at embedded-brains.de
Mon Jan 16 13:41:20 UTC 2023
Mark all new pull requests as stale. Add a note that the CI can be used
but that patches should be sent to the mailing list instead. Close pull
requests after 30 days.
.github/workflows/mark-stale.yml | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 .github/workflows/mark-stale.yml
diff --git a/.github/workflows/mark-stale.yml b/.github/workflows/mark-stale.yml
new file mode 100644
@@ -0,0 +1,23 @@
+name: 'Mark all PRs as stale'
+ types: [opened]
+ - cron: '28 6 * * *'
+ issues: write
+ pull-requests: write
+ runs-on: ubuntu-latest
+ - uses: actions/stale at v7
+ stale-pr-message: 'Please note that Pull Requests are neither merged nor reviewed! Your Pull Requests only trigger continuous integration builds and tests in this repository and will automatically be closed after a month. As soon as you are happy with the result, please send the patches to the mailing list at devel at rtems.org. See https://lists.rtems.org for instructions how to register for that list. Thank you. '
+ days-before-stale: -1
+ days-before-close: -1
+ days-before-pr-stale: 0
+ days-before-pr-close: 30
More information about the devel