Skip to content

Commit

Permalink
Prevent build on draft PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
kg583 committed Dec 30, 2023
1 parent 9731ec1 commit a860398
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ on:
branches: [ 'main' ]
pull_request:
branches: [ 'main' ]
types: [opened, synchronize, reopened, ready_for_review]

jobs:
build:
name: Build and validate token sheets
runs-on: ubuntu-latest
permissions: write-all

if: github.event.pull_request.draft == false
steps:
- name: Checkout sheets
uses: actions/checkout@v4
Expand Down

0 comments on commit a860398

Please sign in to comment.