gpg/.github/workflows/pre-checkin.yml

35 lines
679 B
YAML
Raw Normal View History

2020-06-10 16:56:59 -04:00
name: pre-checkin
on:
push:
2020-08-20 11:33:24 -04:00
branches:
- 'master'
2020-06-10 16:56:59 -04:00
paths-ignore:
- '**.md'
pull_request:
2020-08-20 11:33:24 -04:00
branches:
- 'master'
2020-06-10 16:56:59 -04:00
paths-ignore:
- '**.md'
jobs:
pre-checkin:
runs-on: ubuntu-latest
steps:
-
name: Checkout
2020-11-07 20:56:13 -05:00
uses: actions/checkout@v2
2020-06-10 16:56:59 -04:00
-
name: Install
run: yarn install
-
name: Pre-checkin
run: yarn run pre-checkin
-
name: Check for uncommitted changes
run: |
if [[ `git status --porcelain` ]]; then
git status --porcelain
echo "::warning::Found changes. Please run 'yarn run pre-checkin' and push"
fi