Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codetheweb/gh-action-issue-parser
⚙️ action that runs issue-parser and provides the output
https://github.com/codetheweb/gh-action-issue-parser
actions github
Last synced: 23 days ago
JSON representation
⚙️ action that runs issue-parser and provides the output
- Host: GitHub
- URL: https://github.com/codetheweb/gh-action-issue-parser
- Owner: codetheweb
- License: mit
- Created: 2021-08-11T17:44:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-09T02:09:02.000Z (almost 2 years ago)
- Last Synced: 2024-09-19T19:03:20.151Z (about 2 months ago)
- Topics: actions, github
- Language: TypeScript
- Homepage:
- Size: 463 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# GH Action Issue Parser
Parses the body of an issue / PR with [issue-parser](https://github.com/pvdlg/issue-parser).
## Usage
Example:
```yaml
name: Parse PR Bodyon:
pull_request:
types: [edited, synchronize, opened, reopened]
check_run:jobs:
parse-pr:
runs-on: ubuntu-latest
name: Parse body of PR
steps:
- uses: jwalton/gh-find-current-pr@v1
id: findPr
- name: Parse body
id: parsed
uses: codetheweb/gh-action-issue-parser@v1
with:
body: ${{ steps.findPr.outputs.body }}
- name: Dump parsed object
run: |
echo $parsed | jq
env:
parsed: ${{ steps.parsed.outputs.parsed }}
```**Inputs**:
- `body`: body of PR or issue as string
**Outputs**:
- `parsed`: parsed object returned from [issue-parser](https://github.com/pvdlg/issue-parser)