Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doarakko/draw-action
Draw Yu-Gi-Oh! Card on GitHub issue.
https://github.com/doarakko/draw-action
github-actions ygoprodeck yu-gi-oh yugioh
Last synced: 9 days ago
JSON representation
Draw Yu-Gi-Oh! Card on GitHub issue.
- Host: GitHub
- URL: https://github.com/doarakko/draw-action
- Owner: Doarakko
- License: mit
- Created: 2021-02-13T16:17:56.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-04T16:15:58.000Z (10 months ago)
- Last Synced: 2024-05-01T16:38:08.084Z (10 months ago)
- Topics: github-actions, ygoprodeck, yu-gi-oh, yugioh
- Language: JavaScript
- Homepage:
- Size: 26.9 MB
- Stars: 22
- Watchers: 3
- Forks: 2
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# draw-action
Draw Yu-Gi-Oh! Card on GitHub issue.
![example](./example.gif)
It takes about 10 seconds to draw.
## Inputs
### `github-token`
**Required** The GitHub token used to create an authenticated client.
## Example usage
```yaml
name: Draw Yu-Gi-Oh! Card
on:
issue_comment:
types: [created, edited]jobs:
draw:
runs-on: ubuntu-latest
steps:
- name: Draw Yu-Gi-Oh! Card on GitHub issue
uses: Doarakko/draw-action@main
if: >-
contains(github.event.comment.body, 'draw')
|| contains(github.event.comment.body, 'ドロー')
with:
github-token: ${{secrets.GITHUB_TOKEN}}
```## Demo
Please comment "draw" to [this issue](https://github.com/Doarakko/draw-action/issues/1)!
## Credits
- [Yu-Gi-Oh! API by YGOPRODeck](https://ygoprodeck.com/api-guide/)