From 9b69023b16780cad86e8bf51ed51c196a4856bf1 Mon Sep 17 00:00:00 2001 From: gyan pratap singh <98226958+Gyanthakur@users.noreply.github.com> Date: Sun, 6 Oct 2024 19:44:10 +0530 Subject: [PATCH] Update greetings.yml --- .github/workflows/greetings.yml | 50 ++++++++++++++++++++++++++++----- 1 file changed, 43 insertions(+), 7 deletions(-) diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 4d07d54..b2d70dc 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -1,13 +1,15 @@ name: 'Greetings' + on: push: branches: - - '**' # or you can specify specific branches like 'gyan', 'Gyanthakur-patch-1', etc. + - '**' # Trigger on all branches for push events issues: - types: [opened] + types: [opened] # Trigger on issue opened events pull_request: - types: [opened] - #gyan singh + branches: + - '**' # Trigger on pull request opened for all branches + types: [opened] # You can add other types like reopened if needed permissions: issues: write @@ -21,6 +23,40 @@ jobs: - uses: EddieHubCommunity/gh-action-community/src/welcome@main with: github-token: ${{ secrets.GITHUB_TOKEN }} - issue-message: 'Welcome, @${{ github.actor }}! Thanks for raising the issue!' - pr-message: 'Great job, @${{ github.actor }}! Thanks for creating the pull request!' - footer: 'Soon the maintainers/owner will review it and provide you with feedback/suggestions.Make sure to **star this awesome repository** and **follow the account**' + issue-message: | + Welcome, @${{ github.actor }}! Thanks for raising the issue. + Soon the maintainers/owner will review it and provide you with feedback/suggestions. + Make sure to **star this awesome repository** and **follow the account** for updates! + pr-message: | + Great job, @${{ github.actor }}! Thanks for creating the pull request. + Soon the maintainers/owner will review it and provide you with feedback/suggestions. + Make sure to **star this awesome repository** and **follow the account** for updates! + footer: 'Make sure to stay involved and contribute to the project!' + + +# name: 'Greetings' +# on: +# push: +# branches: +# - '**' # or you can specify specific branches like 'gyan', 'Gyanthakur-patch-1', etc. +# issues: +# types: [opened] +# pull_request: +# types: [opened] +# #gyan singh + +# permissions: +# issues: write +# pull-requests: write + +# jobs: +# welcome: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v1 +# - uses: EddieHubCommunity/gh-action-community/src/welcome@main +# with: +# github-token: ${{ secrets.GITHUB_TOKEN }} +# issue-message: 'Welcome, @${{ github.actor }}! Thanks for raising the issue!' +# pr-message: 'Great job, @${{ github.actor }}! Thanks for creating the pull request!' +# footer: 'Soon the maintainers/owner will review it and provide you with feedback/suggestions.Make sure to **star this awesome repository** and **follow the account**'