From 090f3beec486c5831e0a4d1187e323c7ce0cd983 Mon Sep 17 00:00:00 2001 From: Finomnis Date: Sun, 12 Nov 2023 21:22:03 +0100 Subject: [PATCH] Add upstream check (#20) --- .github/workflows/upstream_sync.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/upstream_sync.yml diff --git a/.github/workflows/upstream_sync.yml b/.github/workflows/upstream_sync.yml new file mode 100644 index 0000000..b797750 --- /dev/null +++ b/.github/workflows/upstream_sync.yml @@ -0,0 +1,19 @@ +name: Upstream +on: + pull_request: + branches: [main] + push: + branches: [main] + schedule: + - cron: '0 0 * * 0' +jobs: + check_upstream_changes: + name: Check fonts + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + submodules: true + + - name: Check if upstream changed the font file + run: cd u8g2 && git fetch && git diff --exit-code origin/master HEAD -- csrc/u8g2_fonts.c