mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-07-01 00:09:19 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
39 lines
824 B
YAML
39 lines
824 B
YAML
name: Card Info Comment
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, synchronize]
|
|
paths:
|
|
- '.github/workflows/comment-pr.yml'
|
|
- '.github/scripts/*'
|
|
- 'data/**/*.ts'
|
|
- 'data-asia/**/*.ts'
|
|
|
|
jobs:
|
|
card-info-comment:
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
defaults:
|
|
run:
|
|
working-directory: .github/scripts
|
|
permissions:
|
|
pull-requests: write
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Bun
|
|
uses: oven-sh/setup-bun@v2
|
|
with:
|
|
bun-version: latest
|
|
|
|
- name: Install dependencies
|
|
run: bun i --frozen-lockfile
|
|
|
|
- name: Run load-cards script
|
|
id: load-cards
|
|
run: bun load-cards.js
|
|
env:
|
|
INPUT_GITHUB-TOKEN: ${{ secrets.TCGDEX_BOT }}
|