diff --git a/.github/workflows/chain-issue-to-pr.yaml b/.github/workflows/chain-issue-to-pr.yaml index 947b81c..c684387 100644 --- a/.github/workflows/chain-issue-to-pr.yaml +++ b/.github/workflows/chain-issue-to-pr.yaml @@ -10,9 +10,14 @@ jobs: issues: write pull-requests: write steps: - - run: echo "$GITHUB_CONTEXT" - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_REPO: ${{ github.repository }} - NUMBER: ${{ github.event.issue.number }} - GITHUB_CONTEXT: ${{ toJson(github) }} \ No newline at end of file + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'npm' + - run: node index.js + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_REPO: ${{ github.repository }} + NUMBER: ${{ github.event.issue.number }} + GITHUB_CONTEXT: ${{ toJson(github) }} \ No newline at end of file