Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ permissions:
issues: write
pull-requests: write

defaults:
run:
shell: bash

jobs:
backport:
name: Backport Pull Request
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/check-cherry-picks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ concurrency:
permissions:
pull-requests: write

defaults:
run:
shell: bash

jobs:
check:
name: cherry-pick-check
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ concurrency:

permissions: {}

defaults:
run:
shell: bash

jobs:
nixos:
name: fmt-check
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/check-shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ concurrency:

permissions: {}

defaults:
run:
shell: bash

jobs:
shell-check:
strategy:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeowners-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ concurrency:

permissions: {}

defaults:
run:
shell: bash

env:
OWNERS_FILE: ci/OWNERS
# Don't do anything on draft PRs
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/edited.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ concurrency:

permissions: {}

defaults:
run:
shell: bash

jobs:
base:
name: Trigger jobs
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/eval-aliases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ concurrency:

permissions: {}

defaults:
run:
shell: bash

jobs:
eval-aliases:
name: Eval nixpkgs with aliases enabled
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/eval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ concurrency:

permissions: {}

defaults:
run:
shell: bash

jobs:
prepare:
name: Prepare
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ permissions:
issues: write # needed to create *new* labels
pull-requests: write

defaults:
run:
shell: bash

jobs:
labels:
name: label-pr
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lib-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ concurrency:

permissions: {}

defaults:
run:
shell: bash

jobs:
nixpkgs-lib-tests:
name: nixpkgs-lib-tests
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/manual-nixos-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ concurrency:

permissions: {}

defaults:
run:
shell: bash

jobs:
nixos:
name: nixos-manual-build
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/manual-nixpkgs-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ concurrency:

permissions: {}

defaults:
run:
shell: bash

jobs:
nixpkgs:
name: nixpkgs-manual-build
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/nix-parse-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ concurrency:

permissions: {}

defaults:
run:
shell: bash

jobs:
tests:
name: nix-files-parseable-check
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/nixpkgs-vet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ concurrency:

permissions: {}

# We don't use a concurrency group here, because the action is triggered quite often (due to the PR edit trigger), and contributors would get notified on any canceled run.
# There is a feature request for suppressing notifications on concurrency-canceled runs: https://github.com/orgs/community/discussions/13015
defaults:
run:
shell: bash

jobs:
check:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/no-channel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:

permissions: {}

defaults:
run:
shell: bash

jobs:
fail:
if: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/periodic-merge-24h.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:

permissions: {}

defaults:
run:
shell: bash

jobs:
periodic-merge:
if: github.repository_owner == 'NixOS'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/periodic-merge-6h.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:

permissions: {}

defaults:
run:
shell: bash

jobs:
periodic-merge:
if: github.repository_owner == 'NixOS'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/periodic-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
required: true
type: string

defaults:
run:
shell: bash

jobs:
merge:
runs-on: ubuntu-24.04-arm
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/reviewers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ concurrency:

permissions: {}

defaults:
run:
shell: bash

jobs:
request:
name: Request
Expand Down Expand Up @@ -58,6 +62,7 @@ jobs:
# In the more special case, when a PR is undrafted an eval run will have started already.
- name: Wait for comparison to be done
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
id: eval
with:
script: |
const run_id = (await github.rest.actions.listWorkflowRuns({
Expand All @@ -68,6 +73,8 @@ jobs:
head_sha: context.payload.pull_request.head.sha
})).data.workflow_runs[0].id

core.setOutput('run-id', run_id)

// Waiting 120 * 5 sec = 10 min. max.
// The extreme case is an Eval run that just started when the PR is undrafted.
// Eval takes max 5-6 minutes, normally.
Expand All @@ -86,6 +93,8 @@ jobs:
- name: Download the comparison results
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
run-id: ${{ steps.eval.outputs.run-id }}
github-token: ${{ github.token }}
pattern: comparison
path: comparison
merge-multiple: true
Expand Down