Skip to content

Commit

Permalink
ci: move PR validation to organization level (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter authored Aug 8, 2023
1 parent a2251a0 commit 134a020
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 36 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,31 @@
name: CI/CD
name: AstroNvim
on:
push:
branches: ["main"]
pull_request:

jobs:
scopes:
name: Calculate scopes
runs-on: ubuntu-latest
outputs:
scopes: ${{ steps.get-scopes.outputs.scopes }}
steps:
- uses: actions/checkout@v3
- id: get-scopes
run: |
echo "scopes<<EOF" >> $GITHUB_OUTPUT
find lua/astrocommunity -mindepth 1 -maxdepth 2 -type d -exec basename {} \; >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
CI:
uses: AstroNvim/.github/.github/workflows/plugin_ci.yml@main
secrets: inherit
needs: scopes
with:
plugin_name: ${{ github.event.repository.name }}
is_production: ${{ github.event_name == 'push' }}
docs: false
spellcheck: false
commit_msg: false
pr_title: true
scopes: ${{ needs.scopes.outputs.scopes }}
35 changes: 0 additions & 35 deletions .github/workflows/semantic_pr.yml

This file was deleted.

0 comments on commit 134a020

Please sign in to comment.