Test pull_request_review #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | ||
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 }}" |