mirror of
https://github.com/nextcloud/docker.git
synced 2025-06-16 16:14:47 +02:00
Check for Changes by update.sh using github actions
Signed-off-by: Tilo Spannagel <development@tilosp.de>
This commit is contained in:
parent
3727b9fda1
commit
b945c808e4
1 changed files with 22 additions and 0 deletions
22
.github/workflows/update-sh.yml
vendored
Normal file
22
.github/workflows/update-sh.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
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)" ]]
|
Loading…
Add table
Add a link
Reference in a new issue