swc/.github/workflows/bot-pr.yml
2023-11-20 17:57:16 +00:00

30 lines
622 B
YAML

name: Maintenance
env:
# https://github.com/actions/setup-node/issues/899#issuecomment-1819151595
SKIP_YARN_COREPACK_CHECK: 1
on:
pull_request_review:
jobs:
ensure-comment:
name: Ensure bump comment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- name: Install dependencies
working-directory: scripts/bot
run: |
yarn
- name: Ensure that bump command exists
working-directory: scripts/bot
run: |
npx ts-node src/cargo/ensure-comment.ts