Skip to content

Automatically warn against big diffs for Cornell DTI repos.

License

Notifications You must be signed in to change notification settings

cornell-dti/big-diff-warning

Repository files navigation

big-diff-warning

Automatically warn against big diffs for Cornell DTI repos.

Usage

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 }}'

Development

GitHub Actions require the repository to be self-contained. Therefore, the compiled index.js must be checked into repository.

  1. Run yarn
  2. Run yarn test
  3. Run yarn compile

before commit to ensure that index.js is in sync with sources.

About

Automatically warn against big diffs for Cornell DTI repos.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published