Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelangarano committed Aug 15, 2024
1 parent 6dbd0e8 commit d535c3a
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@ on:
types: [opened, reopened, synchronize, ready_for_review]

jobs:
example_job:
check_non_draft_pr:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Check if PR is draft
if: github.event.pull_request.draft == false
run: echo "This PR is not a draft"
- 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"

0 comments on commit d535c3a

Please sign in to comment.