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 48f3e2f commit 6dbd0e8
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ jobs:
example_job:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Determine PR status
id: pr-status
run: |
if [ "${{ github.event.pull_request.draft }}" = "true" ]; then
echo "PR_STATUS=draft" >> $GITHUB_ENV
else
echo "PR_STATUS=ready_for_review" >> $GITHUB_ENV
fi
- name: Check if PR is draft
if: github.event.pull_request.draft == false
run: echo "This PR is not a draft"

0 comments on commit 6dbd0e8

Please sign in to comment.