Skip to content

fix: PR bot fails due to mixing action triggers #909

fix: PR bot fails due to mixing action triggers

fix: PR bot fails due to mixing action triggers #909

Workflow file for this run

name: E2E Test Checker
on:
pull_request_target:
types:
- labeled
- unlabeled
env:
SKIP_E2E_TAG: skip-e2e
E2E_CHECK_NAME: e2e tests
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
e2e-checker:
name: label checker
runs-on: ubuntu-latest
steps:
- uses: LouisBrunner/[email protected]
name: Enqueue e2e
id: create
with:
token: ${{ secrets.GITHUB_TOKEN }}
sha: ${{ github.event.pull_request.head.sha }}
name: ${{ env.E2E_CHECK_NAME }}
status: queued
- uses: LouisBrunner/[email protected]
name: Skip e2e
if: ${{ contains(github.event.pull_request.labels.*.name, env.SKIP_E2E_TAG )}}
with:
token: ${{ secrets.GITHUB_TOKEN }}
sha: ${{ github.event.pull_request.head.sha }}
check_id: ${{ steps.create.outputs.check_id }}
conclusion: success
output: |
{"summary": "skipped by maintainer"}