2020-08-07 05:05:37 -04:00
|
|
|
name: setup-qemu-precheckin
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2020-08-11 16:55:56 -04:00
|
|
|
branches:
|
|
|
|
- master
|
2020-08-14 14:01:01 -04:00
|
|
|
- v2-working-branch # remove when merged to master
|
2020-08-07 05:05:37 -04:00
|
|
|
paths:
|
|
|
|
- .github/workflows/setup-qemu-precheckin.yml
|
|
|
|
- setup-qemu/**
|
|
|
|
pull_request:
|
2020-08-11 16:55:56 -04:00
|
|
|
branches:
|
|
|
|
- master
|
2020-08-14 14:01:01 -04:00
|
|
|
- v2-working-branch # remove when merged to master
|
2020-08-07 05:05:37 -04:00
|
|
|
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
|