build-push-action/.github/workflows/setup-qemu-precheckin.yml
CrazyMax 33f14d658e
Temp branch event trigger for our tests on v2 actions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-14 19:55:34 +02:00

39 lines
937 B
YAML

name: setup-qemu-precheckin
on:
push:
branches:
- master
- mig # remove when merged to master
paths:
- .github/workflows/setup-qemu-precheckin.yml
- setup-qemu/**
pull_request:
branches:
- master
- mig # remove when merged to master
paths:
- .github/workflows/setup-qemu-precheckin.yml
- setup-qemu/**
jobs:
pre-checkin:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2.3.1
-
name: Install
run: yarn --cwd ./setup-qemu/ install
-
name: Pre-checkin
run: yarn --cwd ./setup-qemu/ run pre-checkin
-
name: Check for uncommitted changes
run: |
if [[ `git status --porcelain` ]]; then
git status --porcelain
echo "::warning::Found changes. Please run 'yarn --cwd ./setup-qemu/ run pre-checkin' and push"
fi