From c0479d9ace45e7e91bb7de96deb8ab6df98799f7 Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Mon, 2 Aug 2021 14:28:19 -0700 Subject: Skip Formal CI checks via Github Actions not commit message (#2308) --- .run_formal_checks.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to '.run_formal_checks.sh') diff --git a/.run_formal_checks.sh b/.run_formal_checks.sh index 0a28a1d1..3451c688 100755 --- a/.run_formal_checks.sh +++ b/.run_formal_checks.sh @@ -21,14 +21,8 @@ if [ ! -z "$GITHUB_BASE_REF" ]; then git remote set-branches origin $GITHUB_BASE_REF && git fetch git checkout $GITHUB_BASE_REF git checkout - - # Skip if '[skip formal checks]' shows up in any of the commit messages in the PR - if git log --format=%B --no-merges $GITHUB_BASE_REF..HEAD | grep '\[skip formal checks\]'; then - echo "Commit message says to skip formal checks" - exit 0 - else - cp regress/$DUT.fir $DUT.fir - ./scripts/formal_equiv.sh HEAD $GITHUB_BASE_REF $DUT - fi + cp regress/$DUT.fir $DUT.fir + ./scripts/formal_equiv.sh HEAD $GITHUB_BASE_REF $DUT else echo "Not a pull request, no formal check" exit 0 -- cgit v1.2.3