Skip to content

Commit

Permalink
Merge pull request anoma#1688 from anoma/bengt/workflow-fix
Browse files Browse the repository at this point in the history
trying this
  • Loading branch information
bengtlofgren authored Nov 6, 2023
2 parents 5b0e6cc + 00fe14a commit dc2f724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate-pregensis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
pr_name=$(echo "${{ github.event.pull_request.title }}" | tr '[:upper:]' '[:lower:]')
if [[ "$pr_name" == *"update"* ]]; then
changed_files=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }})
changed_files=$(git diff --name-only main HEAD)
num_changed_files=$(echo "$changed_files" | wc -l)
if [ $num_changed_files -eq 1 ]; then
python3 .github/workflows/scripts/validate_previous_genesis.py --folder $CHAIN_ID_FOLDER --filename $changed_files
Expand Down

0 comments on commit dc2f724

Please sign in to comment.