mirror of
https://github.com/crazy-max/ghaction-import-gpg.git
synced 2024-11-29 08:21:06 -05:00
e6978a83eb
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.0 to v2.3.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/master/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.3.0...28c7f3d2b5162b5ddd3dfd9a45aa55eaf396478b) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30 lines
621 B
YAML
30 lines
621 B
YAML
name: pre-checkin
|
|
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- '**.md'
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**.md'
|
|
|
|
jobs:
|
|
pre-checkin:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@v2.3.1
|
|
-
|
|
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
|