28 lines
632 B
YAML
28 lines
632 B
YAML
---
|
|
name: Check patches
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'modules'
|
|
- 'patches/**'
|
|
- '.github/workflows/check-patches.yml'
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
paths:
|
|
- 'modules'
|
|
- 'patches/**'
|
|
- '.github/workflows/check-patches.yml'
|
|
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
|
|
|