Skip to content

Commit

Permalink
chore: set workspace in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marinamsm committed May 28, 2024
1 parent d09717a commit 84e2449
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/PR_reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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,
Expand Down

0 comments on commit 84e2449

Please sign in to comment.