Skip to content

add merge queue check for e2e #1

add merge queue check for e2e

add merge queue check for e2e #1

name: E2E Merge Queue Check
on:
push:
branches: main
pull_request:
merge_group:
types: [checks_requested]
jobs:
apply-smoke-label:
runs-on: ubuntu-latest

Check failure on line 11 in .github/workflows/e2e-merge-queue-check.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/e2e-merge-queue-check.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
steps:
- name: Apply "Run Smoke E2E" label
uses: octokit/[email protected]
with:
route: POST /repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/labels
labels: 'Run Smoke E2E'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run-e2e-check:
uses: ./.github/workflows/bitrise-e2e-check.yml # Reuse the bitrise check workflow
with:
pr_number: ${{ github.event.number || github.event.pull_request.number }}
e2e_label: 'Run Smoke E2E'
e2e_pipeline: 'pr_smoke_e2e_pipeline'
secrets:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BITRISE_BUILD_TRIGGER_TOKEN: ${{ secrets.BITRISE_BUILD_TRIGGER_TOKEN }}
BITRISE_APP_ID: ${{ secrets.BITRISE_APP_ID }}