From a1e0e3d64448973acfc165c8c8eeba6ce5b1d3e7 Mon Sep 17 00:00:00 2001 From: Sachin Chaurasiya Date: Wed, 22 Mar 2023 10:15:54 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20[Feature=20request]:=20Update=20gre?= =?UTF-8?q?eting=20workflow=20#1068?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/CODEOWNERS | 4 +++- .github/workflows/greetings.yml | 36 ++++++++++++++++----------------- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a5583a81c..d8acf0062 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,5 +1,7 @@ # Lines starting with '#' are comments. + # Each line is a file pattern followed by one or more owners. # These owners will be the default owners for everything in the repo. -* @atapas @koustov + +- @atapas @koustov @Sachin-chaurasiya diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index d0baa656c..abf17369d 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -1,25 +1,25 @@ -name: Greetings - -on: [pull_request_target, issues] +name: Greeting message +on: + fork: + issues: + types: [opened] + pull_request_target: + types: [opened] concurrency: group: environment-${{ github.ref }} cancel-in-progress: true jobs: - greeting: + welcome: runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write steps: - - uses: actions/first-interaction@v1 + - uses: actions/checkout@v1 + - uses: EddieHubCommunity/gh-action-community/src/welcome@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. - **Stale Marking** : **After 30 days of inactivity this issue will be marked as stale issue and it will be closed and locked in 7 days if no further activity occurs.** - pr-message: | - Hello! Thank you for your contribution 😊. - Please reference the issue number in the description if you are fixing a bug. - If you are implementing a feature request, please check with the maintainers that the feature will be accepted first. - **Stale Marking** : **After 30 days of inactivity this PR will be marked as stale PR and it will be closed and locked in 7 days if no further activity occurs.** + github-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: '

Hey! contributor, thank you for opening an Issue 🎉.

' + pr-message: '

Hey! contributor, thank you for opening a Pull Request 🎉.

' + footer: | + @reactplay/maintainers will review your submission soon and give you helpful feedback. + If you're interested in continuing your contributions to open source and want to be a part of a welcoming and fantastic community, we invite you to join our [ReactPlay Discord Community](https://discord.gg/vrTxWUP8Am). + Show your support by starring ⭐ this repository. Thank you and we appreciate your contribution to open source! + **Stale Marking** : **After 30 days of inactivity this issue/PR will be marked as stale issue/PR and it will be closed and locked in 7 days if no further activity occurs.**