mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
workflows: improve test-ability in forks
Removing as many "owner == NixOS" conditions as possible allows easier testing of CI itself in forks.
This commit is contained in:
parent
65315e5400
commit
01900de145
4 changed files with 1 additions and 4 deletions
2
.github/workflows/backport.yml
vendored
2
.github/workflows/backport.yml
vendored
|
@ -14,7 +14,7 @@ permissions: {}
|
||||||
jobs:
|
jobs:
|
||||||
backport:
|
backport:
|
||||||
name: Backport Pull Request
|
name: Backport Pull Request
|
||||||
if: github.repository_owner == 'NixOS' && github.event.pull_request.merged == true && (github.event.action != 'labeled' || startsWith(github.event.label.name, 'backport'))
|
if: vars.NIXPKGS_CI_APP_ID && github.event.pull_request.merged == true && (github.event.action != 'labeled' || startsWith(github.event.label.name, 'backport'))
|
||||||
runs-on: ubuntu-24.04-arm
|
runs-on: ubuntu-24.04-arm
|
||||||
steps:
|
steps:
|
||||||
# Use a GitHub App to create the PR so that CI gets triggered
|
# Use a GitHub App to create the PR so that CI gets triggered
|
||||||
|
|
1
.github/workflows/check-cherry-picks.yml
vendored
1
.github/workflows/check-cherry-picks.yml
vendored
|
@ -16,7 +16,6 @@ jobs:
|
||||||
check:
|
check:
|
||||||
name: cherry-pick-check
|
name: cherry-pick-check
|
||||||
runs-on: ubuntu-24.04-arm
|
runs-on: ubuntu-24.04-arm
|
||||||
if: github.repository_owner == 'NixOS'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
|
|
1
.github/workflows/manual-nixos-v2.yml
vendored
1
.github/workflows/manual-nixos-v2.yml
vendored
|
@ -41,7 +41,6 @@ jobs:
|
||||||
extra_nix_config: sandbox = true
|
extra_nix_config: sandbox = true
|
||||||
|
|
||||||
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
|
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
|
||||||
if: github.repository_owner == 'NixOS'
|
|
||||||
with:
|
with:
|
||||||
# This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
|
# This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
|
||||||
name: nixpkgs-ci
|
name: nixpkgs-ci
|
||||||
|
|
1
.github/workflows/manual-nixpkgs-v2.yml
vendored
1
.github/workflows/manual-nixpkgs-v2.yml
vendored
|
@ -28,7 +28,6 @@ jobs:
|
||||||
extra_nix_config: sandbox = true
|
extra_nix_config: sandbox = true
|
||||||
|
|
||||||
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
|
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
|
||||||
if: github.repository_owner == 'NixOS'
|
|
||||||
with:
|
with:
|
||||||
# This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
|
# This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
|
||||||
name: nixpkgs-ci
|
name: nixpkgs-ci
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue