From 5c84d8cbb4a0f098913a3f3c382151e0ec4ed985 Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 2 Jun 2024 10:34:58 +0300 Subject: [PATCH] chore: better automated commit message --- .github/workflows/check-chainspec.yml | 45 ++------------------------- 1 file changed, 2 insertions(+), 43 deletions(-) diff --git a/.github/workflows/check-chainspec.yml b/.github/workflows/check-chainspec.yml index c77c5d3f6..47c88fc42 100644 --- a/.github/workflows/check-chainspec.yml +++ b/.github/workflows/check-chainspec.yml @@ -78,46 +78,5 @@ jobs: ./scripts/build_all_chainspecs.sh - uses: stefanzweifel/git-auto-commit-action@v5 - - # - name: Check raw_spec_finney.json - # run: | - # sha1=$(sha256sum __CI_TESTING__raw_spec_finney.json | awk '{print $1}') - # sha2=$(sha256sum raw_spec_finney.json | awk '{print $1}') - # echo "__CI_TESTING__raw_spec_finney.json SHA256: $sha1" - # echo "raw_spec_finney.json SHA256: $sha2" - # if [ "$sha1" != "$sha2" ]; then - # echo "raw_spec_finney.json needs to be updated." - # exit 1 - # else - # echo "raw_spec_finney.json is up to date." - # fi - - # - name: Check plain_spec_finney.json - # run: | - # if [ "$(sha256sum __CI_TESTING__plain_spec_finney.json | awk '{print $1}')" != "$(sha256sum plain_spec_finney.json | awk '{print $1}')" ]; then - # diff __CI_TESTING__plain_spec_finney.json plain_spec_finney.json || true - # echo "plain_spec_finney.json needs to be updated. Run './scripts/build_all_chainspecs.sh'." - # exit 1 - # else - # echo "plain_spec_finney.json is up to date." - # fi - # - # - name: Check raw_spec_testfinney.json - # run: | - # if [ "$(sha256sum __CI_TESTING__raw_spec_testfinney.json | awk '{print $1}')" != "$(sha256sum raw_spec_testfinney.json | awk '{print $1}')" ]; then - # diff __CI_TESTING__raw_spec_testfinney.json raw_spec_testfinney.json || true - # echo "raw_spec_testfinney.json needs to be updated. Run './scripts/build_all_chainspecs.sh'" - # exit 1 - # else - # echo "raw_spec_testfinney.json is up to date." - # fi - # - # - name: Check plain_spec_testfinney.json - # run: | - # if [ "$(sha256sum __CI_TESTING__plain_spec_testfinney.json | awk '{print $1}')" != "$(sha256sum plain_spec_testfinney.json | awk '{print $1}')" ]; then - # diff __CI_TESTING__plain_spec_testfinney.json plain_spec_testfinney.json || true - # echo "plain_spec_testfinney.json needs to be updated. Run './scripts/build_all_chainspecs.sh'" - # exit 1 - # else - # echo "plain_spec_testfinney.json is up to date." - # fi + with: + commit_message: Update chainspecs