octokit-plugin-create-pull-request force appends "repos" into url #210
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Parse new issue | |
"on": | |
issues: | |
types: | |
- opened | |
- edited | |
jobs: | |
updateIssue: | |
runs-on: ubuntu-latest | |
if: >- | |
github.event.issue.title == 'DO NOT EDIT - Await parsing by GitHub | |
Actions' && github.event.sender.login == 'gr2m' | |
steps: | |
- uses: actions/checkout@v3 | |
- run: cat $GITHUB_EVENT_PATH | |
- uses: stefanbuck/github-issue-parser@v2 | |
id: issue-parser | |
with: | |
template-path: .github/ISSUE_TEMPLATE/02_show.yml | |
- run: | | |
cat <<EOL | |
${{ steps.issue-parser.outputs.jsonString}} | |
EOL | |
- run: npm ci | |
- run: node parse-new-show-issue.js | |
env: | |
PARSED_ISSUE_JSON: ${{ steps.issue-parser.outputs.jsonString }} | |
GITHUB_TOKEN: ${{ secrets.GR2M_PAT }} |