Disable workflows in forks (#6531)

* Add condition to run workflows only for non-forks

* Add condition to skip deployment for forks

* Add release notes for CI workflow changes
This commit is contained in:
Julian Dominguez-Schatz
2026-01-05 09:37:38 -05:00
committed by GitHub
parent f1faf45659
commit 3e565fa513
3 changed files with 8 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy Docs
if: github.event.repository.fork == false
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

View File

@@ -26,6 +26,7 @@ jobs:
- windows-latest
- macos-latest
runs-on: ${{ matrix.os }}
if: github.event.repository.fork == false
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- if: ${{ startsWith(matrix.os, 'windows') }}

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [jfdoming]
---
Disable some CI workflows in forks