You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Mtg Fetch Action
v1.1.1
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 }}
You can see the syntax handbook by commenting a issue or a pull_request with !mtg help
or Mtg Fetch Help
.