From 341d1b0ba1bfbc43eb50b0862916d701cac178f0 Mon Sep 17 00:00:00 2001 From: Simon Aronsson Date: Sun, 24 Nov 2019 14:44:57 +0100 Subject: [PATCH] Greet new reporters and contributors using actions Replaces the welcome bot --- .github/workflows/greetings.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/greetings.yml diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 0000000..a3a88df --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,25 @@ +name: Greetings + +on: [pull_request, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: > + Hi there! 👋🏼 + As you're new to this repo, we'd like to suggest that you read our [code of conduct](https://github.com/containrrr/watchtower/blob/master/CODE_OF_CONDUCT.md) + as well as our [contribution guidelines](https://github.com/containrrr/watchtower/blob/master/CONTRIBUTING.md). + \n + Thanks a bunch for opening your first issue! 🙏 + pr-message: > + Congratulations on opening your first pull request! 🥳\n\n + To make sure that your pull request is handled as fast as possible, we recommend that you make sure that you make sure that you've done the following\:\n + [ ] Documentation has been updated + [ ] Tests have been added to all appropriate places + [ ] Changes adhere to our [contribution guidelines](https://github.com/containrrr/watchtower/blob/master/CONTRIBUTING.md) + + Thanks! 🙏🏼