PR #148: labeled run-e2e at 562dea1b4fccf01f0d0a33be90959f32c4a90258 #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: GitLab E2E request | |
| # The privileged workflow verifies this file's Git blob before it trusts this | |
| # run-name format. Keep all request metadata in GitHub's run record, not artifacts. | |
| run-name: "PR #${{ github.event.pull_request.number }}: ${{ github.event.action }} ${{ github.event.label.name }} at ${{ github.event.pull_request.head.sha }}" | |
| on: | |
| pull_request: | |
| branches: [main] | |
| # New commits need a fresh review and label event. | |
| types: [labeled] | |
| permissions: {} | |
| jobs: | |
| request: | |
| if: >- | |
| github.event.label.name == 'run-e2e' && | |
| github.event.pull_request.head.repo.full_name != github.repository | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 1 | |
| steps: | |
| - run: echo 'GitLab E2E requested. The workflow on main will validate this request.' |