diff --git a/.github/workflows/PR_reviewer.yml b/.github/workflows/PR_reviewer.yml index c97e822..865c65d 100644 --- a/.github/workflows/PR_reviewer.yml +++ b/.github/workflows/PR_reviewer.yml @@ -11,6 +11,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + repository: firefliesai/.github + path: firefliesai + sparse-checkout-cone-mode: false + sparse-checkout: | + .github/scripts/PR_reviewer.js - name: Setup Node uses: actions/setup-node@v4 with: @@ -37,7 +43,7 @@ jobs: const { WebClient } = require('@slack/web-api'); const format = require('slackify-markdown'); console.log('workspace...', '${{ github.workspace }}'); - const { reviewPR } = require('${{ github.workspace }}/scripts/PR_reviewer.js'); + const { reviewPR } = require('${{ github.workspace }}/firefliesai/.github/scripts/PR_reviewer.js'); // OCTOKIT REFERENCE: https://octokit.github.io/rest.js/v20 const octokit = new Octokit({ auth: process.env.GTP_TOKEN,