Merge pull request #2140 from blocktrron/patch-check

github: add workflow for checking patch status
This commit is contained in:
Martin Weinelt 2020-10-20 21:56:24 +02:00 committed by GitHub
commit 163427649c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
.github/workflows/check-patches.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Check patches
on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
check-patches:
name: Check patches
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Refresh patches
run: make refresh-patches GLUON_SITEDIR="contrib/ci/minimal-site"
- name: Show diff
run: git status; git diff
- name: Patch status
run: git diff-files --quiet