diff --git a/.github/workflows/chain-issue-to-pr.yaml b/.github/workflows/chain-issue-to-pr.yaml new file mode 100644 index 0000000..947b81c --- /dev/null +++ b/.github/workflows/chain-issue-to-pr.yaml @@ -0,0 +1,18 @@ +name: Chain add issue +on: + issues: + types: + - opened +jobs: + issue_to_pr: + runs-on: ubuntu-latest + permissions: + 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