Skip to content

Commit

Permalink
remove the branch ref to default to main
Browse files Browse the repository at this point in the history
  • Loading branch information
areshand committed Nov 28, 2024
1 parent bc4364b commit 06fe79a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
provision-testnet:
if: |
github.event_name == 'schedule' ||
github.event_name == 'push' ||
github.event_name == 'workflow_dispatch' && (inputs.NETWORK == 'testnet' || inputs.NETWORK == 'all')
needs: determine-test-metadata
uses: ./.github/workflows/workflow-run-replay-verify-archive-storage-provision.yaml
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/replay-verify-on-archive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ jobs:
replay-testnet:
if: |
github.event_name == 'schedule' ||
github.event_name == 'push' ||
github.event_name == 'workflow_dispatch' && (inputs.NETWORK == 'testnet' || inputs.NETWORK == 'all')
needs: determine-test-metadata
uses: ./.github/workflows/workflow-run-replay-verify-on-archive.yaml
Expand All @@ -72,7 +71,6 @@ jobs:
replay-mainnet:
if: |
github.event_name == 'schedule' ||
github.event_name == 'push' ||
github.event_name == 'pull_request' ||
github.event_name == 'workflow_dispatch' && (inputs.NETWORK == 'mainnet' || inputs.NETWORK == 'all' )
needs: determine-test-metadata
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.BRANCH || 'add_replay_verify_workflow' }}
ref: ${{ github.event.pull_request.head.ref || github.ref }}

# Authenticate to Google Cloud the project is aptos-ci
- name: Authenticate to Google Cloud
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.BRANCH || 'add_replay_verify_workflow' }}
ref: ${{ github.event.pull_request.head.ref || github.ref }}

- uses: aptos-labs/aptos-core/.github/actions/docker-setup@main
id: docker-setup
Expand Down

0 comments on commit 06fe79a

Please sign in to comment.