{"id":16314697,"url":"https://github.com/ldeluigi/mtg-fetch-action","last_synced_at":"2025-03-22T20:36:02.838Z","repository":{"id":37796074,"uuid":"324538866","full_name":"ldeluigi/mtg-fetch-action","owner":"ldeluigi","description":"This GitHub actions monitors issues, pull requests and related comments for a special syntax used to search for cards in the gatherer and scryfall.","archived":false,"fork":false,"pushed_at":"2023-03-06T18:01:54.000Z","size":1842,"stargazers_count":6,"open_issues_count":10,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-28T21:58:46.398Z","etag":null,"topics":["comments","github-action","github-actions","issues","magic-the-gathering","mtg","mtg-cards","pull-requests","scryfall"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/mtg-fetch-action","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ldeluigi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-26T11:17:45.000Z","updated_at":"2023-12-09T18:32:07.000Z","dependencies_parsed_at":"2024-10-10T21:55:06.177Z","dependency_job_id":"adade59f-bfc2-4763-b27c-2556b62f4f57","html_url":"https://github.com/ldeluigi/mtg-fetch-action","commit_stats":{"total_commits":120,"total_committers":4,"mean_commits":30.0,"dds":0.675,"last_synced_commit":"39414e357bd3c2da3791c99f7df873c7b129f240"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldeluigi%2Fmtg-fetch-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldeluigi%2Fmtg-fetch-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldeluigi%2Fmtg-fetch-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldeluigi%2Fmtg-fetch-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ldeluigi","download_url":"https://codeload.github.com/ldeluigi/mtg-fetch-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221839436,"owners_count":16889618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["comments","github-action","github-actions","issues","magic-the-gathering","mtg","mtg-cards","pull-requests","scryfall"],"created_at":"2024-10-10T21:55:03.032Z","updated_at":"2024-10-28T14:20:08.326Z","avatar_url":"https://github.com/ldeluigi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mtg Card Fetch Bot\n\nThis action/workflow replies to issues, pull requests and their respective comments with smart links to Magic the Gathering resources. Uses the standard `[[\u003ccard-name\u003e]]` for the default output or some other syntax that enable special features like image previews, card prices or legality info.\n\n**Current Build:** ![build-test](https://github.com/ldeluigi/mtg-fetch-action/workflows/build-test/badge.svg?branch=master)\n\n## Commands for the bot\n\nYou can see the syntax handbook by commenting a issue or a pull_request with `!mtg help` or `Mtg Fetch Help`.\n\n## How to use this action\n\nAdd `.github/workflows/mtg-card-fetch.yml` to your workflows (just copy and paste from [the source](https://github.com/ldeluigi/mtg-fetch-action/blob/master/.github/workflows/mtg-card-fetch.yml)).\n\nOr use it in your own workflow that reacts to `issues`, `pull_request`, `issue_comment`, `pull_request_review`, `pull_request_review_comment`:\n\n```yaml\n# .github/workflows/mtg-card-fetch.yml\nname: Mtg Card Fetch Bot\n\non:\n  issue_comment:\n    types: [created]\n  issues:\n    types: [opened]\n  pull_request:\n    types: [opened]\n  pull_request_review:\n    types: [submitted]\n  pull_request_review_comment:\n    types: [created]\n\njobs:\n  fetch-card-references:\n    name: Fetch MTG Card\n    runs-on: ubuntu-latest\n    permissions:\n      issues: write\n      pull-requests: write\n    steps:\n      - uses: ldeluigi/mtg-fetch-action@v1\n```\n\n## Quick reference\n\n- `[[cardname]]` returns card information from gatherer and other websites in the chat.\n- `{{cardname}}` returns card information from gatherer, and also puts the card image in the chat.\n- `::cardname::` returns card format legality information.\n- `((cardname))` returns card pricing from TCGPlayer, and also puts the card image in the chat.\n\nIf you desire a specific set image, insert `e:SET` inside the brackets and after the card name, using the 3 letter set code instead of the word SET. Other syntax rules can be found at https://scryfall.com/docs/syntax.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldeluigi%2Fmtg-fetch-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fldeluigi%2Fmtg-fetch-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldeluigi%2Fmtg-fetch-action/lists"}