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,