mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-04 10:05:06 +02:00
ci: don't run release/docs on forks with a main branch
This commit is contained in:
parent
9dd2e0d39a
commit
349508cdf4
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
|||
docs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: tests
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'LazyVim' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: panvimdoc
|
||||
|
@ -58,7 +58,7 @@ jobs:
|
|||
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
|
||||
release:
|
||||
name: release
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'LazyVim' }}
|
||||
needs:
|
||||
- docs
|
||||
- tests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue