mirror of
https://github.com/crazy-max/ghaction-upx.git
synced 2024-11-22 10:26:08 -07:00
5c71834a86
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.1 to v2.3.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.3.1...2036a08e25fa78bbd946711a407b529a0a1204bf) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
31 lines
621 B
YAML
31 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.2
|
|
-
|
|
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
|