Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
star

GitHub Action

Mtg Fetch Action

v1.1.1

Mtg Fetch Action

star

Mtg Fetch Action

This Action answer to issues, comments and pull requests fetching Magic the Gathering cards preview

Installation

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

              

- name: Mtg Fetch Action

uses: ldeluigi/[email protected]

Learn more about this action in ldeluigi/mtg-fetch-action

Choose a version

Mtg Card Fetch Bot

Current Build: build-test

Usage

Add .github/workflows/mtg-card-fetch.yml to your workflows (just copy and paste from the source).

Or use it in your own workflow that reacts to issues, pull_request, issue_comment, pull_request_comment:

# .github/workflows/mtg-card-fetch.yml
name: "Mtg Fetch Cards"
on:
  issue_comment:
    types: [created]
  issues:
    types: [opened]
  pull_request:
    types: [opened]
  pull_request_review:
    type: [submitted]

jobs:
  comment-run:
    runs-on: ubuntu-18.04
    steps:
    - uses: ldeluigi/mtg-fetch-action@v1
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}

Commands

You can see the syntax handbook by commenting a issue or a pull_request with !mtg help or Mtg Fetch Help.