From ba7d60951576fae54092cdda99a6aa455dc09ee3 Mon Sep 17 00:00:00 2001 From: Cory Miller Date: Thu, 6 Oct 2022 14:08:49 -0400 Subject: [PATCH] Use first-interaction in the repository --- .github/workflows/first-interaction.yml | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/first-interaction.yml diff --git a/.github/workflows/first-interaction.yml b/.github/workflows/first-interaction.yml new file mode 100644 index 0000000..c04f2f9 --- /dev/null +++ b/.github/workflows/first-interaction.yml @@ -0,0 +1,27 @@ +name: first-interaction + +on: + issues: + types: [opened] + pull_request: + branches: [main] + 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. + + If this is a bug report, please include relevant logs to help us debug the problem. + pr-message: | + Hello! Thank you for your contribution. + + If you are fixing a bug, please reference the issue number in the description. + + If you are implementing a feature request, please check with the maintainers that the feature will be accepted first.