From 959ebcd71246e4bfa0c408535dffa16be6f4cced Mon Sep 17 00:00:00 2001 From: Avinesh Tripathi <73980067+AvineshTripathi@users.noreply.github.com> Date: Wed, 15 Nov 2023 19:40:21 +0530 Subject: [PATCH] Update author.yaml --- .github/workflows/author.yaml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/author.yaml b/.github/workflows/author.yaml index 91f1805..418936a 100644 --- a/.github/workflows/author.yaml +++ b/.github/workflows/author.yaml @@ -12,9 +12,7 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 - with: - path: analyze - + - name: Set up Node.js uses: actions/setup-node@v2 with: @@ -23,15 +21,9 @@ jobs: - name: Install dependencies run: npm install @octokit/rest - - name: PWd - run: ls - - - name: Change directory - run: cd analyze - - - name: Process PR and update JSON + - name: Change directory and execute script run: | - npm i + cd cred/.github # Adjust if necessary node processPRs.js env: GH_TOKEN: ${{ secrets.GH_TOKEN }}