From 656b8771b825d37dee2ebb198d06ac4103e209a5 Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Sat, 3 Oct 2020 17:48:08 +0200 Subject: [PATCH] Revert "Remove pull request feedback" This reverts commit 0a45372c6c7092c2e04c310391d3ec423c720def. --- .github/workflows/feedback_pull_request.yml | 32 +++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/feedback_pull_request.yml diff --git a/.github/workflows/feedback_pull_request.yml b/.github/workflows/feedback_pull_request.yml new file mode 100644 index 0000000..60e6808 --- /dev/null +++ b/.github/workflows/feedback_pull_request.yml @@ -0,0 +1,32 @@ +on: + pull_request: + types: [opened] + +jobs: + comment: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v3 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + script: | + github.issues.createComment({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + body: `👋 Thanks for contributing to Viper! You are awesome! 🎉 + + A maintainer will take a look at your pull request shortly. 👀 + + In the meantime: We are working on **Viper v2** and we would love to hear your thoughts about what you like or don't like about Viper, so we can improve or fix those issues. + + ⏰ If you have a couple minutes, please take some time and share your thoughts: https://forms.gle/R6faU74qPRPAzchZ9 + + 📣 If you've already given us your feedback, you can still help by spreading the news, + either by sharing the above link or telling people about this on Twitter: + + https://twitter.com/sagikazarmark/status/1306904078967074816 + + **Thank you!** ❤️ + `, + })