Skip to content

Commit

Permalink
ci: move PR validation to separate pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Oct 12, 2023
1 parent af5b743 commit 3ba42ec
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
name: AstroNvim
on:
push:
branches: ["main"]
branches: [main]
pull_request:
pull_request_target:
types: [opened, edited, synchronize]

jobs:
CI:
uses: AstroNvim/.github/.github/workflows/plugin_ci.yml@main
if: ${{ github.event_name != 'pull_request_target' }}
secrets: inherit
with:
plugin_name: ${{ github.event.repository.name }}
is_production: ${{ github.event_name == 'push' }}
commit_msg: false
pr_title: true
PR:
uses: AstroNvim/.github/.github/workflows/validate_pr.yml@main
if: ${{ github.event_name == 'pull_request_target' }}
secrets: inherit
with:
conventional_title: true

0 comments on commit 3ba42ec

Please sign in to comment.