From 5ea8bf4120f390e9aa78573f942c730e79ebef7c Mon Sep 17 00:00:00 2001 From: Edgar Neto <101714905+enetosc@users.noreply.github.com> Date: Wed, 20 Sep 2023 14:47:23 +0100 Subject: [PATCH] Set up autoreply Autoreply for Issues and PRs to direct the community to our forum --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..9fe4287 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +on: + fork: + push: + branches: [main] + issues: + types: [opened] + pull_request_target: + types: [opened] + + +jobs: + welcome: + runs-on: ubuntu-latest + steps: + - uses: EddieHubCommunity/gh-action-community/src/welcome@main + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: "Thanks for your comment. This Flutter code is supplied “as is” and will not be accepting code contributions regularly, but rather we provide it as sample code that you can adapt to your needs. Thus, we will allow forks to this repo which can be up/downvoted, but we will not be accepting PRs. We ask that you use the [Camera Kit Community Forum](https://community.snap.com/snapar/categories/camera-kit) for help from Snap and the broader developer community." + pr-message: "Thanks for your contribution. This Flutter code is supplied “as is” and will not be accepting code contributions regularly, but rather we provide it as sample code that you can adapt to your needs. Thus, we will allow forks to this repo which can be up/downvoted, but we will not be accepting PRs. We ask that you use the [Camera Kit Community Forum](https://community.snap.com/snapar/categories/camera-kit) for help from Snap and the broader developer community." + footer: ""