summaryrefslogtreecommitdiffstats
path: root/.github/workflows/update-sh.yml
blob: 3f5fb09d8cafe5f862c9dbc37fa98dbfb4b7f25d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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)" ]]