From e75a5fabbd330de3db37dd32a3b0246afe104530 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Tue, 7 Nov 2023 13:33:21 -0700 Subject: fail pull requests if author accidentally committed a new version.h --- .github/workflows/compile.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.github/workflows/compile.yml') diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 57d049c..893eb41 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -15,6 +15,10 @@ jobs: - name: Checkout uses: actions/checkout@master + - name: Stop committing version.h + # reject commit if version.h was changed + run: grep 1969-07-20 ui/anduril/version.h + - name: Requirements run: | sudo apt-get -qqy update -- cgit v1.2.3