Skip to content

add comment to trigger E2E #4

add comment to trigger E2E

add comment to trigger E2E #4

Workflow file for this run

name: auto-job-v2
on:
pull_request:
types: [opened, reopened]
permissions:
contents: read
pull-requests: write
jobs:

Check failure on line 11 in .github/workflows/auto-job-v2.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/auto-job-v2.yaml

Invalid workflow file

You have an error in your yaml syntax on line 11
add-v2-label:
runs-on: ubuntu-24.04
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Add v2 label if target branch is feature/v2
if: github.event.pull_request.base.ref == 'feature/v2'
uses: actions-ecosystem/action-add-labels@v1
with:
labels: 'v2'
add-e2e-comment:
runs-on: ubuntu-24.04
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Add comment if target branch is feature/e2e
if: github.event.pull_request.base.ref == 'feature/e2e'
uses: actions-ecosystem/action-create-comment@v1
with:
body: |
/run-pull-e2e-kind-v2