Skip to content

Commit

Permalink
CI: Skip PR title checks on draft PRs (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers authored Aug 10, 2024
1 parent 2aa9399 commit 39fe9a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/semantic_pr_check.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: "Verify Semantic PR Title"

on:
pull_request_target:
pull_request:
types:
- opened
- edited
- synchronize
- ready_for_review

env:
AIRBYTE_ANALYTICS_ID: ${{ vars.AIRBYTE_ANALYTICS_ID }}
Expand All @@ -19,6 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
if: ${{ github.event.pull_request.draft == false }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down

0 comments on commit 39fe9a3

Please sign in to comment.