Skip to content

Workflow file for this run

name: Test

Check failure on line 1 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yaml

Invalid workflow file

`pull_request_comment` is not a valid event name
on:
pull_request_comment:
types: [created]
pull_request_review:
types: [submitted]
jobs:
execute:
runs-on: ubuntu-latest
if: contains(github.event.review.state, 'APPROVED') || $ {{ github.event.issue.pull_request && contains(github.event.comment.body, '/test') }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Echo PR number
run: echo "PR number is ${{ github.event.pull_request.number }}"
- name: Echo PR title
run: echo "PR title is ${{ github.event.pull_request.title }}"