diff --git a/.github/workflows/update-prs.yml b/.github/workflows/update-prs.yml index da5062b1..7df927f5 100644 --- a/.github/workflows/update-prs.yml +++ b/.github/workflows/update-prs.yml @@ -7,8 +7,15 @@ jobs: runs-on: ubuntu-latest steps: - - name: Setup Node.js - uses: actions/setup-node@v3 - - - name: Run JavaScript file - run: node ./update-prs.js + - uses: actions/github-script@v7 + with: + script: | + // Get a list of all issues created by the PR opener + // See: https://octokit.github.io/rest.js/#pagination + const creator = context.payload.sender.login + const prs = github.rest.pulls.get({ + owner: context.repo.owner, + repo: context.repo.repo + }); + + console.log(prs) \ No newline at end of file