From acb2b9e5f294206fece1fe44b09b9e5dee9306ab Mon Sep 17 00:00:00 2001 From: pputman12 Date: Wed, 29 May 2024 07:30:29 -0500 Subject: [PATCH] listing dir --- .github/workflows/comment-on-linter-error.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/comment-on-linter-error.yml b/.github/workflows/comment-on-linter-error.yml index 5d5999c..16188ab 100644 --- a/.github/workflows/comment-on-linter-error.yml +++ b/.github/workflows/comment-on-linter-error.yml @@ -27,7 +27,9 @@ jobs: uses: actions/download-artifact@v4 with: name: pr-number - path: pr + path: pr/ + - name: Display structure of downloaded files + run: ls -R pr - name: 'Comment on PR' uses: actions/github-script@v6 @@ -35,7 +37,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} script: | var fs = require('fs'); - var issue_number = Number(fs.readFileSync('./pr/pr-number')); + var issue_number = Number(fs.readFileSync('pr/pr-number')); github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner,