Add visibility check for public repositories in CI and release workflows

This commit is contained in:
Snider 2026-01-26 23:12:45 +00:00
parent 81206311ac
commit 91f9deeb6d
2 changed files with 3 additions and 0 deletions

View file

@ -8,6 +8,7 @@ on:
jobs:
tests:
if: github.event.repository.visibility == 'public'
runs-on: ubuntu-latest
strategy:
@ -46,6 +47,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
assets:
if: github.event.repository.visibility == 'public'
runs-on: ubuntu-latest
name: Assets

View file

@ -10,6 +10,7 @@ permissions:
jobs:
release:
if: github.event.repository.visibility == 'public'
runs-on: ubuntu-latest
name: Create Release