mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-18 02:56:42 +01:00
23 lines
405 B
YAML
23 lines
405 B
YAML
|
name: update.sh
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
|
||
|
defaults:
|
||
|
run:
|
||
|
shell: 'bash -Eeuo pipefail -x {0}'
|
||
|
|
||
|
jobs:
|
||
|
|
||
|
check-changes:
|
||
|
name: Check for Changes
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Check for Changes
|
||
|
run: |
|
||
|
hash_before="$(git write-tree)"
|
||
|
./update.sh
|
||
|
git add -A
|
||
|
[[ "$hash_before" = "$(git write-tree)" ]]
|