3
0
Fork 0
mirror of https://gitea.com/docker/build-push-action.git synced 2024-11-29 12:59:37 +01:00
docker-build-push/.github/workflows/setup-qemu-precheckin.yml
CrazyMax 674ff6ada6
Trigger on master branch
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-11 22:55:56 +02:00

36 lines
851 B
YAML

name: setup-qemu-precheckin
on:
push:
branches:
- master
paths:
- .github/workflows/setup-qemu-precheckin.yml
- setup-qemu/**
pull_request:
branches:
- 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