Skip to content

Commit

Permalink
Merge pull request #205 from OffchainLabs/ci-use-sha
Browse files Browse the repository at this point in the history
ci: use sha instead of head ref to support push and pull
  • Loading branch information
gzeoneth authored Jul 4, 2024
2 parents 39bd03d + 0ed27f0 commit 61204dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/contract-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
l3-node: true
no-token-bridge: true
no-l3-token-bridge: true
nitro-contracts-branch: '${{ github.head_ref }}'
nitro-contracts-branch: '${{ github.event.pull_request.head.sha || github.sha }}'
nitro-testnode-ref: node-18

- name: Setup node/yarn
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
args: --l3-fee-token
no-token-bridge: true
no-l3-token-bridge: true
nitro-contracts-branch: '${{ github.head_ref }}'
nitro-contracts-branch: '${{ github.event.pull_request.head.sha || github.sha }}'
nitro-testnode-ref: node-18

- name: Setup node/yarn
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
args: --l3-fee-token --l3-fee-token-decimals 6
no-token-bridge: true
no-l3-token-bridge: true
nitro-contracts-branch: '${{ github.head_ref }}'
nitro-contracts-branch: '${{ github.event.pull_request.head.sha || github.sha }}'
nitro-testnode-ref: 'non18-decimal-token-node-18'

- name: Setup node/yarn
Expand Down

0 comments on commit 61204dd

Please sign in to comment.