From 6da467cdd273d451e5c65bde7dc0cdaa6873e340 Mon Sep 17 00:00:00 2001 From: Yash Sakre <72202404+Yash-Sakre@users.noreply.github.com> Date: Fri, 11 Jun 2021 15:58:35 +0530 Subject: [PATCH] Update greetings.yml --- .github/workflows/greetings.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 9c4c0f0..ecb6cb6 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -5,12 +5,9 @@ on: [pull_request, issues] jobs: greeting: runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write steps: - uses: actions/first-interaction@v1 with: - repo-token: ${{ secrets.PAT }} - issue-message: "Hey **#** welcome to the repo, good to see you created your first issue here!" - pr-message: "Hey **#** welcome to VCallZer, glad to have your first pull request to the repo! Make sure you add a contribution to issue #4 after this PR if already not done." + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: "Hey @${{ github.actor }} welcome to the repo, good to see you created your first issue here!" + pr-message: "Hey @${{ github.actor }} welcome to VCallZer, glad to have your first pull request to the repo! Make sure you add a contribution to issue #4 after this PR if already not done."