From a86575b2629b278cd269a20a318da31546b7541a Mon Sep 17 00:00:00 2001 From: Slava <20563034+veaceslavdoina@users.noreply.github.com> Date: Mon, 28 Jul 2025 13:47:50 +0300 Subject: [PATCH] ci: add a way to pass contracts repository ref (#260) --- .github/workflows/devnet-contracts.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/devnet-contracts.yml b/.github/workflows/devnet-contracts.yml index bb68f0e..c3bf374 100644 --- a/.github/workflows/devnet-contracts.yml +++ b/.github/workflows/devnet-contracts.yml @@ -21,6 +21,11 @@ on: required: false default: https://public.sepolia.rpc.status.network type: string + contracts_ref: + description: "Contracts ref: blank = current branch" + required: false + type: string + default: '' env: @@ -35,7 +40,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.head.sha }} + ref: ${{ inputs.contracts_ref }} - uses: actions/setup-node@v4 with: