From 90be488a39600f1dd2b7195c37fd992690c82ffd Mon Sep 17 00:00:00 2001 From: Vishal Rajput Date: Sun, 1 Oct 2023 17:54:19 +0530 Subject: [PATCH] fixed greeting workflow --- .github/workflows/greeting.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/greeting.yml b/.github/workflows/greeting.yml index 0becf12..c4d42c8 100644 --- a/.github/workflows/greeting.yml +++ b/.github/workflows/greeting.yml @@ -1,13 +1,16 @@ name: Greetings -on: [pull_request, issues] +on: [pull_request_target, issues] jobs: greeting: runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write steps: - uses: actions/first-interaction@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} issue-message: 'Hi 😄, thanks for creating your first contribution at Official-Website, do read and follow the Contribution Guidelines while contributing.' - pr-message: 'Thank you for your pull request and welcome to our community! We will be getting back to you soon . Your patience will be greatly appreciated! Thanks! 🥳' \ No newline at end of file + pr-message: 'Thank you for your pull request and welcome to our community! We will be getting back to you soon . Your patience will be greatly appreciated! Thanks! 🥳'