I have set Github actions to be skipped when a draft pull request has been created however it is not trigger when the pull request is ready for review. Is there any way to run the action when I draft PR is changed from draft to ready for review?
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize', 'ready_for_review']
jobs:
build:
if: github.event.pull_request.draft == 'false'
runs-on: ubuntu-latest
github.event.pull_request.draft == 'false'
togithub.event.pull_request.draft == false
makes it work. – Confucianism