Skip to content

Creating a repo on User's account using #209

Creating a repo on User's account using

Creating a repo on User's account using #209

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 }}