Automatically warn against big diffs for Cornell DTI repos.
on: pull_request
jobs:
warn-if-big:
runs-on: ubuntu-latest
name: Warn if the PR is too big
steps:
- uses: actions/checkout@master
- uses: cornell-dti/big-diff-warning@master
env:
BOT_TOKEN: '${{ secrets.BOT_TOKEN }}'
GitHub Actions require the repository to be self-contained. Therefore, the compiled
index.js
must be checked into repository.
- Run
yarn
- Run
yarn test
- Run
yarn compile
before commit to ensure that index.js
is in
sync with sources.