Skip to content

Commit

Permalink
chore: better automated commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
orriin committed Jun 2, 2024
1 parent f3cc5b2 commit 5c84d8c
Showing 1 changed file with 2 additions and 43 deletions.
45 changes: 2 additions & 43 deletions .github/workflows/check-chainspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5c84d8c

Please sign in to comment.