mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
Don't run GitHub workflows on forks
This commit is contained in:
1
.github/workflows/nix.yml
vendored
1
.github/workflows/nix.yml
vendored
@ -2,6 +2,7 @@ on: [push, pull_request]
|
||||
name: Nix
|
||||
jobs:
|
||||
check-zig-cache-hash:
|
||||
if: github.repository == 'ghostty-org/ghostty'
|
||||
runs-on: namespace-profile-ghostty-sm
|
||||
env:
|
||||
ZIG_LOCAL_CACHE_DIR: /zig/local-cache
|
||||
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -287,6 +287,7 @@ jobs:
|
||||
run: Get-Content -Path ".\build.log"
|
||||
|
||||
test:
|
||||
if: github.repository == 'ghostty-org/ghostty'
|
||||
runs-on: namespace-profile-ghostty-md
|
||||
env:
|
||||
ZIG_LOCAL_CACHE_DIR: /zig/local-cache
|
||||
@ -343,6 +344,7 @@ jobs:
|
||||
run: nix develop -c zig build test
|
||||
|
||||
prettier:
|
||||
if: github.repository == 'ghostty-org/ghostty'
|
||||
runs-on: namespace-profile-ghostty-sm
|
||||
timeout-minutes: 60
|
||||
env:
|
||||
@ -369,6 +371,7 @@ jobs:
|
||||
run: nix develop -c prettier --check .
|
||||
|
||||
alejandra:
|
||||
if: github.repository == 'ghostty-org/ghostty'
|
||||
runs-on: namespace-profile-ghostty-sm
|
||||
timeout-minutes: 60
|
||||
env:
|
||||
@ -395,6 +398,7 @@ jobs:
|
||||
run: nix develop -c alejandra --check .
|
||||
|
||||
typos:
|
||||
if: github.repository == 'ghostty-org/ghostty'
|
||||
runs-on: namespace-profile-ghostty-sm
|
||||
timeout-minutes: 60
|
||||
env:
|
||||
|
Reference in New Issue
Block a user