From 93c4dd856efa386a587b99137b0ee081fda8dd01 Mon Sep 17 00:00:00 2001 From: Cory Miller <13227161+cory-miller@users.noreply.github.com> Date: Fri, 21 Oct 2022 09:58:06 -0400 Subject: [PATCH] Add first interaction workflow to greet new contributors and users (#1918) --- .github/workflows/run-first-interaction.yaml | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/run-first-interaction.yaml diff --git a/.github/workflows/run-first-interaction.yaml b/.github/workflows/run-first-interaction.yaml new file mode 100644 index 00000000..e13c0075 --- /dev/null +++ b/.github/workflows/run-first-interaction.yaml @@ -0,0 +1,29 @@ +name: first-interaction + +on: + issues: + types: [opened] + pull_request: + branches: [master] + types: [opened] + +jobs: + check_for_first_interaction: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/first-interaction@main + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: | + Hello! Thank you for filing an issue. + + The maintainers will triage your issue shortly. + + In the meantime, please take a look at the [troubleshooting guide](https://github.com/actions-runner-controller/actions-runner-controller/blob/master/TROUBLESHOOTING.md) for bug reports. + + If this is a feature request, please review our [contribution guidelines](https://github.com/actions-runner-controller/actions-runner-controller/blob/master/CONTRIBUTING.md). + pr-message: | + Hello! Thank you for your contribution. + + Please review our [contribution guidelines](https://github.com/actions-runner-controller/actions-runner-controller/blob/master/CONTRIBUTING.md) to understand the project's testing and code conventions.