Skip to content

Commit

Permalink
Add upstream check (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis authored Nov 12, 2023
1 parent d59c437 commit 090f3be
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/upstream_sync.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 090f3be

Please sign in to comment.