Skip to content

Commit

Permalink
Fix case when new release commit pushed but still master used for sync (
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilchodola authored and mralj committed Feb 5, 2025
1 parent 81b2f22 commit 1388200
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/sync-supported-chains.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
uses: actions/checkout@v4
with:
path: nethermind
ref: ${{ github.event.workflow_run.head_branch || github.ref_name || 'master' }}
- name: Set Matrix
id: set-matrix
run: |
Expand Down Expand Up @@ -100,6 +101,7 @@ jobs:
uses: actions/checkout@v4
with:
clean: true
ref: ${{ github.event.workflow_run.head_branch || github.ref_name || 'master' }}

- name: Checkout tests repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -365,5 +367,5 @@ jobs:
ref: "main"
token: "${{ steps.gh-app.outputs.token }}"
inputs: '{
"nethermind_branch": "${{ github.ref}}"
"nethermind_branch": "${{ github.event.workflow_run.head_branch }}"
}'

0 comments on commit 1388200

Please sign in to comment.