1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
Commit graph

273 commits

Author SHA1 Message Date
superherointj 22a9feb385 github/workflows/check-nix-format: add maintainers files 2024-06-17 21:59:36 -03:00
Robert Scott 2052033220 check-cherry-picks workflow: don't run for staging-next PRs 2024-06-12 21:07:03 +01:00
dependabot[bot] 3bcb4dc6fe
build(deps): bump cachix/cachix-action from 14 to 15
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 14 to 15.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](18cf96c7c9...ad2ddac53f)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 11:42:49 +00:00
Silvan Mosberger 0efcb15b4e
Merge pull request #313345 from katexochen/workflows/remove-check-by-name-concurrency 2024-05-23 16:28:45 +02:00
Weijia Wang 4a817d2083 24.05 is Vicuña 2024-05-22 18:15:34 +02:00
Paul Meyer d87803b742 check-by-name: remove concurrency group
Due to the trigger on PR edit, every change to the PR body will trigger
a re-run of the check-by-name workflow. This is needed to catch of the
base branch. However, an action like ticking the checkbox of a PR will
also trigger a re-run. Furthermore, due to the concurrency group, any
already running check-by-name workflow will be canceled, leading to
a notification sent to the PR author.

To reduce the noise, remove the concurrency group. As a consequence,
multiple runs will run to completion on the same PR/commit. While
concurrent runs are often canceled after a few seconds, the workflow
will take about a minute to complete.

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-05-22 07:43:14 +02:00
Silvan Mosberger 6fc3ccd95a workflows/check-by-name: Skip instead of canceling on conflicts
This avoids sending emails when there's merge conflicts.
The check will appear to be green,
but it doesn't matter since the PR can't be merged anyways.

Unfortunately there's no better way to do this right now: https://github.com/actions/runner/issues/662
2024-05-14 17:41:26 +02:00
dependabot[bot] 9f4ea63603
build(deps): bump actions/checkout from 4.1.4 to 4.1.5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](0ad4b8fada...44c2b7a8a4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 11:43:41 +00:00
superherointj 01f3bdb248 github/workflows: add k3s to check-nix-format 2024-05-10 18:55:58 -03:00
John Ericson f571081899
Merge pull request #309577 from obsidiansystems/bsd-reformat
bsd treewide: Run RFC formatter
2024-05-06 15:08:43 -04:00
John Ericson d516971246 workflows: Add pkgs/os-specific/bsd to formatter whitelist 2024-05-06 15:04:41 -04:00
Pol Dellaiera 75ae762133
workflows/check-nix-format: enforce for build-support/php 2024-05-04 23:06:24 +02:00
Pol Dellaiera c759efa5e7
workflows/check-nix-format: enforce for php-packages 2024-05-04 23:04:36 +02:00
nicoo 294953ddb3 workflows: enforce RFC166 formatting for mpvScripts 2024-05-03 19:13:32 +00:00
éclairevoyant 4818b00263
workflows/check-nix-format: enforce for vscode extensions 2024-05-01 06:00:27 -04:00
dependabot[bot] c3ce4079d7
build(deps): bump actions/checkout from 4.1.3 to 4.1.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1d96c772d1...0ad4b8fada)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 11:45:13 +00:00
Will Bush 16121d4dc6
workflows: add concurrency group to check-by-name workflow (again)
This is the second attempt to add a concurrency group to the check-by-name in
hopes that it will reduce unnecessary load on the CI system (wasted electricity)
despite free cost.

first attempt: https://github.com/NixOS/nixpkgs/pull/306072
revert: https://github.com/NixOS/nixpkgs/pull/306430
2024-04-25 02:03:11 -05:00
Peder Bergebakken Sundt d2b73a52cf workflows/check-by-name.yml: Increase timeout for resolving merge commit 2024-04-24 14:15:18 +02:00
Will Bush d28fa76260
Revert "workflows: add concurrency group to check-by-name workflow"
This reverts commit 75600cde6b.
2024-04-23 20:31:57 -05:00
Silvan Mosberger b219715cd0
Merge pull request #306072 from willbush/workflow/check-by-name/concurrency-group
workflows: add concurrency group to check-by-name workflow
2024-04-24 01:59:44 +02:00
Jörg Thalheim d6e4440a98
Merge pull request #305980 from NixOS/dependabot/github_actions/peter-evans/create-pull-request-6.0.4
build(deps): bump peter-evans/create-pull-request from 6.0.2 to 6.0.4
2024-04-23 15:52:06 +02:00
Will Bush 75600cde6b
workflows: add concurrency group to check-by-name workflow
On event that triggers the workflow for the matching concurrency group, any
previous runs of the workflow in the same group will be cancelled.
2024-04-22 13:01:42 -05:00
dependabot[bot] 8533a6f3f8
build(deps): bump peter-evans/create-pull-request from 6.0.2 to 6.0.4
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.2 to 6.0.4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](70a41aba78...9153d834b6)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 11:31:58 +00:00
dependabot[bot] 6bc4e63f5f
build(deps): bump actions/checkout from 4.1.1 to 4.1.3
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.1...1d96c772d19495a3b5c517cd2bc0cb401ea0529f)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 11:31:52 +00:00
Will Bush d08c0dbc47
workflows: force CLI color when running nixpkgs-check-by-name
Currently something about the environment in which GH action is running the
colored library is not using ANSI colors.

I have done some testing in this repo:

https://github.com/willbush/throwaway-miette-gh-action-test/actions/runs/8777029939/job/24081383467

And I'm fairly certain env var `CLICOLOR_FORCE: 1` should fix colors.
2024-04-21 20:23:06 -05:00
K900 9cdada6d5c pkgs/top-level: split release-checks into a separate job
This should improve latency on channel updates.
2024-04-17 09:53:10 +03:00
Silvan Mosberger 3b26d563c5 Build Nixpkgs manual when nixdoc changes
Because this wasn't done previously, a PR was merged that broke the
build: https://github.com/NixOS/nixpkgs/pull/302990#issuecomment-2049471406
2024-04-11 13:26:46 +02:00
Thomas Gerbet 01127f2276 ci: fix the branch patterns of the 'Check cherry-picks' action
For reference on the acceptable pattern:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
2024-04-09 19:27:11 +02:00
Thomas Gerbet 413f064414
Merge pull request #172098 from risicle/ris-cherry-pick-check
add "check cherry-picks" github action
2024-04-08 22:00:51 +02:00
Will Bush 1ec2e2cf1c
Optimize check-maintainers-sorted workflow with sparse checkout
Only lib and maintainers directories are needed to perform the check.
2024-04-06 17:38:33 -05:00
Thomas Gerbet bb0849ee63
Merge pull request #300663 from NixOS/dependabot/github_actions/korthout/backport-action-2.5.0
build(deps): bump korthout/backport-action from 2.4.1 to 2.5.0
2024-04-04 16:39:37 +02:00
zimbatm 3bfad41ad1 ci: fix the manual cache auth token
I reset the cache by mistake.
2024-04-04 11:52:24 +02:00
Someone Serge a20f661a2c workflows/check-nix-format.yml: pin nixpkgs (fix staging) 2024-04-03 18:20:36 +00:00
Robert Scott fbad66daa5 add "Check cherry-picks" github action
the intention being to catch commits which declare themselves as
cherry-picks, but either:

 - don't refer to a commit in the master or staging branches
 - are significantly altered from their original commit

determining the latter is not an exact science, but the heuristic of
looking for differences in only the added or removed lines seems to
work quite well. still, this should be considered an assistant
for reviewers rather than a hard failure. unfortunately github
workflows don't have a way of raising a gentle warning instead of a
failure.

the formatting of the output also leaves something to be desired due
to the limitations of github actions' "group" commands.
2024-04-01 16:10:13 +01:00
dependabot[bot] afca39ba9d
build(deps): bump korthout/backport-action from 2.4.1 to 2.5.0
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/korthout/backport-action/releases)
- [Commits](e8161d6a0d...ef20d86abc)

---
updated-dependencies:
- dependency-name: korthout/backport-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 11:22:55 +00:00
Connor Baker d94495d5bc workflows/check-nix-format.yml: init 2024-04-01 01:14:31 +00:00
Silvan Mosberger f7ea336cb2 workflows/check-by-name.yml: Switch to new separate repo
The nixpkgs-check-by-name tooling is [being moved](https://github.com/NixOS/nixpkgs/issues/286559#issuecomment-2000466124)
to a [separate repo](https://github.com/NixOS/nixpkgs-check-by-name).

This commit updates Nixpkgs CI to use it instead of the tree inside
Nixpkgs

No changes have been made to the tooling locally since it was moved:
- [Exported history](55bf02190e/pkgs/test/nixpkgs-check-by-name)
- [Imported history](d579e1821d/)
2024-03-26 21:24:48 +01:00
Martin Weinelt f9cedd883a
Merge pull request #296887 from NixOS/dependabot/github_actions/actions/checkout-4.1.2
build(deps): bump actions/checkout from 4.1.1 to 4.1.2
2024-03-18 15:33:51 +01:00
dependabot[bot] b6ed496a0a
build(deps): bump peter-evans/create-pull-request from 6.0.1 to 6.0.2
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](a4f52f8033...70a41aba78)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 11:50:35 +00:00
dependabot[bot] 677b0f82c7
build(deps): bump actions/checkout from 4.1.1 to 4.1.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](b4ffde65f4...9bb56186c3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 11:50:32 +00:00
Martin Weinelt a7d38622e7
Merge pull request #273526 from NixOS/dependabot/github_actions/actions/labeler-5.0.0
build(deps): bump actions/labeler from 4.3.0 to 5.0.0
2024-03-17 14:31:50 +01:00
Thomas Gerbet 3d6c24d5e9
Merge pull request #284754 from NixOS/dependabot/github_actions/korthout/backport-action-2.4.1
build(deps): bump korthout/backport-action from 2.1.1 to 2.4.1
2024-03-17 12:32:39 +01:00
dependabot[bot] 98748903e3 build(deps): bump actions/labeler from 4.3.0 to 5.0.0
Bumps [actions/labeler](https://github.com/actions/labeler) from 4.3.0 to 5.0.0.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](ac9175f8a1...8558fd7429)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-17 12:24:44 +01:00
dependabot[bot] 1fb53efbbf
build(deps): bump cachix/install-nix-action from 25 to 26
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 25 to 26.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](6004951b18...8887e596b4)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 11:39:15 +00:00
dependabot[bot] 33386e9f4b
build(deps): bump peter-evans/create-pull-request from 5.0.2 to 6.0.1
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 5.0.2 to 6.0.1.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](153407881e...a4f52f8033)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 11:03:26 +00:00
figsoda 9fc8a3074f workflows/periodic-merge: drop 23.05 jobs 2024-01-29 12:07:40 -05:00
dependabot[bot] 55aa362927
build(deps): bump peter-evans/create-or-update-comment
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 3.1.0 to 4.0.0.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](23ff15729e...71345be026)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 11:48:14 +00:00
dependabot[bot] 298e5fddd3
build(deps): bump korthout/backport-action from 2.1.1 to 2.4.1
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 2.1.1 to 2.4.1.
- [Release notes](https://github.com/korthout/backport-action/releases)
- [Commits](08bafb375e...e8161d6a0d)

---
updated-dependencies:
- dependency-name: korthout/backport-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 11:48:05 +00:00
Silvan Mosberger 0825957f54 workflows/check-by-name: Trigger on base branch changes
Not doing this can cause CI to report a misleading result when it wasn't
retriggered after a base branch change.
2024-01-21 22:47:10 +01:00
dependabot[bot] 7776440255
build(deps): bump cachix/cachix-action from 13 to 14 (#281122)
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 13 to 14.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](6a2e08b5eb...18cf96c7c9)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 17:10:26 +01:00