workflows/reviewers: actually ping maintainers when undrafting (#415680)
This commit is contained in:
4
.github/workflows/backport.yml
vendored
4
.github/workflows/backport.yml
vendored
@@ -18,6 +18,10 @@ permissions:
|
|||||||
issues: write
|
issues: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
backport:
|
backport:
|
||||||
name: Backport Pull Request
|
name: Backport Pull Request
|
||||||
|
|||||||
4
.github/workflows/check-cherry-picks.yml
vendored
4
.github/workflows/check-cherry-picks.yml
vendored
@@ -17,6 +17,10 @@ concurrency:
|
|||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
name: cherry-pick-check
|
name: cherry-pick-check
|
||||||
|
|||||||
4
.github/workflows/check-format.yml
vendored
4
.github/workflows/check-format.yml
vendored
@@ -12,6 +12,10 @@ concurrency:
|
|||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
nixos:
|
nixos:
|
||||||
name: fmt-check
|
name: fmt-check
|
||||||
|
|||||||
4
.github/workflows/check-shell.yml
vendored
4
.github/workflows/check-shell.yml
vendored
@@ -15,6 +15,10 @@ concurrency:
|
|||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
shell-check:
|
shell-check:
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
4
.github/workflows/codeowners-v2.yml
vendored
4
.github/workflows/codeowners-v2.yml
vendored
@@ -35,6 +35,10 @@ concurrency:
|
|||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
env:
|
env:
|
||||||
OWNERS_FILE: ci/OWNERS
|
OWNERS_FILE: ci/OWNERS
|
||||||
# Don't do anything on draft PRs
|
# Don't do anything on draft PRs
|
||||||
|
|||||||
4
.github/workflows/edited.yml
vendored
4
.github/workflows/edited.yml
vendored
@@ -22,6 +22,10 @@ concurrency:
|
|||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
base:
|
base:
|
||||||
name: Trigger jobs
|
name: Trigger jobs
|
||||||
|
|||||||
4
.github/workflows/eval-aliases.yml
vendored
4
.github/workflows/eval-aliases.yml
vendored
@@ -12,6 +12,10 @@ concurrency:
|
|||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
eval-aliases:
|
eval-aliases:
|
||||||
name: Eval nixpkgs with aliases enabled
|
name: Eval nixpkgs with aliases enabled
|
||||||
|
|||||||
4
.github/workflows/eval.yml
vendored
4
.github/workflows/eval.yml
vendored
@@ -22,6 +22,10 @@ concurrency:
|
|||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prepare:
|
prepare:
|
||||||
name: Prepare
|
name: Prepare
|
||||||
|
|||||||
4
.github/workflows/labels.yml
vendored
4
.github/workflows/labels.yml
vendored
@@ -17,6 +17,10 @@ permissions:
|
|||||||
issues: write # needed to create *new* labels
|
issues: write # needed to create *new* labels
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
labels:
|
labels:
|
||||||
name: label-pr
|
name: label-pr
|
||||||
|
|||||||
4
.github/workflows/lib-tests.yml
vendored
4
.github/workflows/lib-tests.yml
vendored
@@ -15,6 +15,10 @@ concurrency:
|
|||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
nixpkgs-lib-tests:
|
nixpkgs-lib-tests:
|
||||||
name: nixpkgs-lib-tests
|
name: nixpkgs-lib-tests
|
||||||
|
|||||||
4
.github/workflows/manual-nixos-v2.yml
vendored
4
.github/workflows/manual-nixos-v2.yml
vendored
@@ -24,6 +24,10 @@ concurrency:
|
|||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
nixos:
|
nixos:
|
||||||
name: nixos-manual-build
|
name: nixos-manual-build
|
||||||
|
|||||||
4
.github/workflows/manual-nixpkgs-v2.yml
vendored
4
.github/workflows/manual-nixpkgs-v2.yml
vendored
@@ -16,6 +16,10 @@ concurrency:
|
|||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
nixpkgs:
|
nixpkgs:
|
||||||
name: nixpkgs-manual-build
|
name: nixpkgs-manual-build
|
||||||
|
|||||||
4
.github/workflows/nix-parse-v2.yml
vendored
4
.github/workflows/nix-parse-v2.yml
vendored
@@ -12,6 +12,10 @@ concurrency:
|
|||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
name: nix-files-parseable-check
|
name: nix-files-parseable-check
|
||||||
|
|||||||
5
.github/workflows/nixpkgs-vet.yml
vendored
5
.github/workflows/nixpkgs-vet.yml
vendored
@@ -17,8 +17,9 @@ concurrency:
|
|||||||
|
|
||||||
permissions: {}
|
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.
|
defaults:
|
||||||
# There is a feature request for suppressing notifications on concurrency-canceled runs: https://github.com/orgs/community/discussions/13015
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
|
|||||||
4
.github/workflows/no-channel.yml
vendored
4
.github/workflows/no-channel.yml
vendored
@@ -8,6 +8,10 @@ on:
|
|||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
fail:
|
fail:
|
||||||
if: |
|
if: |
|
||||||
|
|||||||
4
.github/workflows/periodic-merge-24h.yml
vendored
4
.github/workflows/periodic-merge-24h.yml
vendored
@@ -16,6 +16,10 @@ on:
|
|||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
periodic-merge:
|
periodic-merge:
|
||||||
if: github.repository_owner == 'NixOS'
|
if: github.repository_owner == 'NixOS'
|
||||||
|
|||||||
4
.github/workflows/periodic-merge-6h.yml
vendored
4
.github/workflows/periodic-merge-6h.yml
vendored
@@ -16,6 +16,10 @@ on:
|
|||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
periodic-merge:
|
periodic-merge:
|
||||||
if: github.repository_owner == 'NixOS'
|
if: github.repository_owner == 'NixOS'
|
||||||
|
|||||||
4
.github/workflows/periodic-merge.yml
vendored
4
.github/workflows/periodic-merge.yml
vendored
@@ -12,6 +12,10 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
merge:
|
merge:
|
||||||
runs-on: ubuntu-24.04-arm
|
runs-on: ubuntu-24.04-arm
|
||||||
|
|||||||
9
.github/workflows/reviewers.yml
vendored
9
.github/workflows/reviewers.yml
vendored
@@ -22,6 +22,10 @@ concurrency:
|
|||||||
|
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
request:
|
request:
|
||||||
name: Request
|
name: Request
|
||||||
@@ -58,6 +62,7 @@ jobs:
|
|||||||
# In the more special case, when a PR is undrafted an eval run will have started already.
|
# In the more special case, when a PR is undrafted an eval run will have started already.
|
||||||
- name: Wait for comparison to be done
|
- name: Wait for comparison to be done
|
||||||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||||
|
id: eval
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const run_id = (await github.rest.actions.listWorkflowRuns({
|
const run_id = (await github.rest.actions.listWorkflowRuns({
|
||||||
@@ -68,6 +73,8 @@ jobs:
|
|||||||
head_sha: context.payload.pull_request.head.sha
|
head_sha: context.payload.pull_request.head.sha
|
||||||
})).data.workflow_runs[0].id
|
})).data.workflow_runs[0].id
|
||||||
|
|
||||||
|
core.setOutput('run-id', run_id)
|
||||||
|
|
||||||
// Waiting 120 * 5 sec = 10 min. max.
|
// Waiting 120 * 5 sec = 10 min. max.
|
||||||
// The extreme case is an Eval run that just started when the PR is undrafted.
|
// The extreme case is an Eval run that just started when the PR is undrafted.
|
||||||
// Eval takes max 5-6 minutes, normally.
|
// Eval takes max 5-6 minutes, normally.
|
||||||
@@ -86,6 +93,8 @@ jobs:
|
|||||||
- name: Download the comparison results
|
- name: Download the comparison results
|
||||||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
|
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
|
||||||
with:
|
with:
|
||||||
|
run-id: ${{ steps.eval.outputs.run-id }}
|
||||||
|
github-token: ${{ github.token }}
|
||||||
pattern: comparison
|
pattern: comparison
|
||||||
path: comparison
|
path: comparison
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
|
|||||||
Reference in New Issue
Block a user