Skip to content

Commit

Permalink
ci: improve pull request validation
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Oct 12, 2023
1 parent 0a493ce commit 2304fa6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
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' }}
PR:
uses: AstroNvim/.github/.github/workflows/validate_pr.yml@main
if: ${{ github.event_name == 'pull_request_target' }}
secrets: inherit

0 comments on commit 2304fa6

Please sign in to comment.