Skip to content

Test pull_request_review #31

Test pull_request_review

Test pull_request_review #31

Workflow file for this run

on:

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
pull_request_comment:
types: [created]
pull_request_review:
types: [submitted]
jobs:
execute:
runs-on: ubuntu-latest
if: contains(github.event.review.state, 'APPROVED') || 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 }}"