Skip to content

PR review trigger

PR review trigger #7

Workflow file for this run

name: PR review trigger
on:
pull_request_review:
types:
- submitted
workflow_dispatch:
# Taken from https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-a-workflow-when-a-pull-request-is-approved
jobs:
approved:
if: github.event.review.state == 'APPROVED'
runs-on: ubuntu-latest
env:
GITHUB_ENV: ${{ github.event }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: First issue reply
run: |
echo "$GITHUB_ENV"