|
| 1 | +# This workflow is provided via the organization template repository |
| 2 | +# |
| 3 | +# https://github.com/nextcloud/.github |
| 4 | +# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization |
| 5 | + |
| 6 | +# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors |
| 7 | +# SPDX-FileCopyrightText: 2023 Marcel Klehr <mklehr@gmx.net> |
| 8 | +# SPDX-FileCopyrightText: 2023 Joas Schilling <213943+nickvergessen@users.noreply.github.com> |
| 9 | +# SPDX-FileCopyrightText: 2023 Daniel Kesselberg <mail@danielkesselberg.de> |
| 10 | +# SPDX-FileCopyrightText: 2023 Florian Steffens <florian.steffens@nextcloud.com> |
| 11 | +# SPDX-License-Identifier: MIT |
| 12 | + |
| 13 | +name: 'Ask for feedback on PRs' |
| 14 | +on: |
| 15 | + schedule: |
| 16 | + - cron: '30 1 * * *' |
| 17 | + |
| 18 | +jobs: |
| 19 | + pr-feedback: |
| 20 | + runs-on: ubuntu-latest |
| 21 | + steps: |
| 22 | + - name: The get-github-handles-from-website action |
| 23 | + uses: marcelklehr/get-github-handles-from-website-action@a739600f6b91da4957f51db0792697afbb2f143c # v1.0.0 |
| 24 | + id: scrape |
| 25 | + with: |
| 26 | + website: 'https://nextcloud.com/team/' |
| 27 | + |
| 28 | + - name: Get blocklist |
| 29 | + id: blocklist |
| 30 | + run: | |
| 31 | + blocklist=$(curl https://raw.githubusercontent.com/nextcloud/.github/master/non-community-usernames.txt | paste -s -d, -) |
| 32 | + echo "blocklist=$blocklist" >> "$GITHUB_OUTPUT" |
| 33 | +
|
| 34 | + - uses: marcelklehr/pr-feedback-action@1883b38a033fb16f576875e0cf45f98b857655c4 |
| 35 | + with: |
| 36 | + feedback-message: | |
| 37 | + Hello there, |
| 38 | + Thank you so much for taking the time and effort to create a pull request to our Nextcloud project. |
| 39 | +
|
| 40 | + We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. |
| 41 | +
|
| 42 | + Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 |
| 43 | +
|
| 44 | + Thank you for contributing to Nextcloud and we hope to hear from you soon! |
| 45 | +
|
| 46 | + (If you believe you should not receive this message, you can add yourself to the [blocklist](https://github.com/nextcloud/.github/blob/master/non-community-usernames.txt).) |
| 47 | + days-before-feedback: 14 |
| 48 | + start-date: '2024-04-30' |
| 49 | + exempt-authors: '${{ steps.blocklist.outputs.blocklist }},${{ steps.scrape.outputs.users }}' |
| 50 | + exempt-bots: true |
0 commit comments