diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 423c706d5b..84226dc8ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,12 @@ name: CI on: pull_request: workflow_call: + inputs: + e2eRef: + description: 'e2e repo ref to execute tests from' + required: false + default: main + type: string workflow_dispatch: push: branches: @@ -82,4 +88,4 @@ jobs: uses: restatedev/e2e/.github/workflows/e2e.yaml@main with: restateCommit: ${{ github.event.pull_request.head.sha || github.sha }} - e2eRef: main + e2eRef: ${{ inputs.e2eRef }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 73c4e277a0..4853bdea0a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,6 +37,8 @@ jobs: needs: [verify-version] uses: ./.github/workflows/ci.yml secrets: inherit + with: + e2eRef: 5e28a0c7e0539425165493d046501968e6b41239 # use e2e repo from the time of 0.7.0 build-docker-image: name: Build release Docker image