swc/.github/workflows/bot-pr.yml

30 lines
622 B
YAML
Raw Normal View History

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: .github/bot
run: |
yarn
- name: Ensure that bump command exists
working-directory: .github/bot
run: |
npx ts-node src/cargo/ensure-comment.ts