Skip to content

Commit

Permalink
listing dir
Browse files Browse the repository at this point in the history
  • Loading branch information
pputman12 committed May 29, 2024
1 parent 42d9335 commit acb2b9e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/comment-on-linter-error.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,17 @@ 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
with:
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,
Expand Down

0 comments on commit acb2b9e

Please sign in to comment.