Skip to content

Commit

Permalink
Merge branch 'anoma:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ValidatorVN authored Aug 21, 2024
2 parents 020d995 + 4043eee commit addebfc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pre-genesis-transactions-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ jobs:
- name: Install dependencies
run: poetry install --no-interaction
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
- run: |
- name: Check PR submission correctness
run: |
source .venv/bin/activate
poetry run python scripts/validate-pr.py
env:
Expand Down Expand Up @@ -96,7 +97,8 @@ jobs:
- name: Install dependencies
run: poetry install --no-interaction
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
- run: |
- name: Check PR submission correctness
run: |
source .venv/bin/activate
poetry run python scripts/validate-merge.py
Expand Down Expand Up @@ -135,7 +137,8 @@ jobs:
- name: Install dependencies
run: poetry install --no-interaction
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
- run: |
- name: Rebuild README.md
run: |
source .venv/bin/activate
poetry run python scripts/rebuild.py
- uses: stefanzweifel/git-auto-commit-action@v5
Expand Down
Binary file removed scripts/__pycache__/utils.cpython-312.pyc
Binary file not shown.
6 changes: 3 additions & 3 deletions scripts/validate-pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ def read_env():
can_apply_for_bonds = os.environ.get('CAN_ADD_BONDS', True).lower() in ('true', '1', 't')
can_apply_for_accounts = os.environ.get('CAN_ADD_ACCOUNTS', True).lower() in ('true', '1', 't')

print("Can add validators: {}", can_apply_for_validators)
print("Can add bonds: {}", can_apply_for_bonds)
print("Can add accounts: {}", can_apply_for_accounts)
print("Can add validators: {}".format(can_apply_for_validators))
print("Can add bonds: {}".format(can_apply_for_bonds))
print("Can add accounts: {}".format(can_apply_for_accounts))

return can_apply_for_validators, can_apply_for_bonds, can_apply_for_accounts

Expand Down

0 comments on commit addebfc

Please sign in to comment.