Skip to content
book

GitHub Action

Draw Yu-Gi-Oh! Card

v1.3 Latest version

Draw Yu-Gi-Oh! Card

book

Draw Yu-Gi-Oh! Card

Draw Yu-Gi-Oh! Card on GitHub issue

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Draw Yu-Gi-Oh! Card

uses: Doarakko/[email protected]

Learn more about this action in Doarakko/draw-action

Choose a version

draw-action

Draw Yu-Gi-Oh! Card on GitHub issue.

example

It takes about 10 seconds to draw.

Inputs

github-token

Required The GitHub token used to create an authenticated client.

Example usage

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!

Credits