diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index f017e1c70..38f31b3b9 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -49,9 +49,31 @@ jobs: After merge, new images are deployed in: - [Merge Workflow](https://github.com/${{ github.repository }}/actions/workflows/merge.yml) + test: + test: + name: Test + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - name: Test vars + run: | + echo "Merge group: ${{ github.workflow }}-${{ github.event.number || github.event.merge_group.base_sha }}" + + blocker: + blocker: + name: Blocker + if: github.event_name == 'pull_request' + needs: [test] + runs-on: ubuntu-22.04 + steps: + - name: Blocker vars + run: | + echo "Block for merge queues" + # Find initial PR number (for merge queues) vars: name: Set Variables + needs: [blocker] outputs: pr: ${{ steps.pr.outputs.pr }} runs-on: ubuntu-22.04