Skip to content

test yml

test yml #3

Workflow file for this run

on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
jobs:
check_non_draft_pr:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Check if PR is not a draft
run: echo "This PR is not a draft"
check_draft_pr:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == true
steps:
- name: Check if PR is a draft
run: echo "This PR is a draft"