Skip to content

[Chain-add]: test

[Chain-add]: test #3

name: Chain add issue
on:
issues:
types:
- opened
jobs:
issue_to_pr:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- 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) }}