about summary refs log tree commit diff
path: root/.github/workflows
AgeCommit message (Collapse)AuthorFilesLines
2024-03-18Merge pull request #296887 from ↵Martin Weinelt11-11/+11
NixOS/dependabot/github_actions/actions/checkout-4.1.2 build(deps): bump actions/checkout from 4.1.1 to 4.1.2
2024-03-18build(deps): bump peter-evans/create-pull-request from 6.0.1 to 6.0.2dependabot[bot]1-1/+1
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](https://github.com/peter-evans/create-pull-request/compare/a4f52f8033a6168103c2538976c07b467e8163bc...70a41aba780001da0a30141984ae2a0c95d8704e) --- 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-18build(deps): bump actions/checkout from 4.1.1 to 4.1.2dependabot[bot]11-11/+11
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](https://github.com/actions/checkout/compare/b4ffde65f46336ab88eb53be808477a3936bae11...9bb56186c3b09b4f86b1c65136769dd318469633) --- 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-17Merge pull request #273526 from ↵Martin Weinelt1-1/+1
NixOS/dependabot/github_actions/actions/labeler-5.0.0 build(deps): bump actions/labeler from 4.3.0 to 5.0.0
2024-03-17Merge pull request #284754 from ↵Thomas Gerbet1-1/+1
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-17build(deps): bump actions/labeler from 4.3.0 to 5.0.0dependabot[bot]1-1/+1
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](https://github.com/actions/labeler/compare/ac9175f8a1f3625fd0d4fb234536d26811351594...8558fd74291d67161a8a78ce36a881fa63b766a9) --- 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-11build(deps): bump cachix/install-nix-action from 25 to 26dependabot[bot]8-8/+8
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](https://github.com/cachix/install-nix-action/compare/6004951b182f8860210c8d6f0d808ec5b1a33d28...8887e596b4ee1134dae06b98d573bd674693f47c) --- 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-04build(deps): bump peter-evans/create-pull-request from 5.0.2 to 6.0.1dependabot[bot]1-1/+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](https://github.com/peter-evans/create-pull-request/compare/153407881ec5c347639a548ade7d8ad1d6740e38...a4f52f8033a6168103c2538976c07b467e8163bc) --- 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-01-29workflows/periodic-merge: drop 23.05 jobsfigsoda1-4/+0
2024-01-29build(deps): bump peter-evans/create-or-update-commentdependabot[bot]2-2/+2
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](https://github.com/peter-evans/create-or-update-comment/compare/23ff15729ef2fc348714a3bb66d2f655ca9066f2...71345be0265236311c031f5c7866368bd1eff043) --- 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-29build(deps): bump korthout/backport-action from 2.1.1 to 2.4.1dependabot[bot]1-1/+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](https://github.com/korthout/backport-action/compare/08bafb375e6e9a9a2b53a744b987e5d81a133191...e8161d6a0dbfa2651b7daa76cbb75bc7c925bbf3) --- 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-21workflows/check-by-name: Trigger on base branch changesSilvan Mosberger1-1/+9
Not doing this can cause CI to report a misleading result when it wasn't retriggered after a base branch change.
2024-01-18build(deps): bump cachix/cachix-action from 13 to 14 (#281122)dependabot[bot]3-3/+3
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 13 to 14. - [Release notes](https://github.com/cachix/cachix-action/releases) - [Commits](https://github.com/cachix/cachix-action/compare/6a2e08b5ebf7a9f285ff57b1870a4262b06e0bee...18cf96c7c98e048e10a83abd92116114cd8504be) --- 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-18build(deps): bump cachix/install-nix-action from 24 to 25 (#281120)dependabot[bot]8-8/+8
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 24 to 25. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/7ac1ec25491415c381d9b62f0657c7a028df52a7...6004951b182f8860210c8d6f0d808ec5b1a33d28) --- 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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17check-by-name: Update contributor docsSilvan Mosberger1-2/+3
Now that the tooling is pinned instead of being fetched indirectly from the channel, the docs need some updating
2024-01-17check-by-name: Fix CISilvan Mosberger1-1/+1
Wasn't detected in https://github.com/NixOS/nixpkgs/pull/281407
2024-01-17check-by-name/run-local.sh: Make it usable for non-CI platformsSilvan Mosberger1-2/+6
Since https://github.com/NixOS/nixpkgs/pull/281374, the nixpkgs-check-by-name tooling is pinned to a specific /nix/store path to avoid having to evaluate Nixpkgs in CI. The same path is used for local runs, but that doesn't actually work when you're trying to run it on a platform different from CI. This commit makes it work by being clearer about platforms and making local runs check out the correct Nixpkgs to evaluate the tool from.
2024-01-16Merge pull request #281374 from tweag/by-name-check-pinSilvan Mosberger1-1/+1
workflows/check-by-name: Pin nixpkgs-check-by-name tool
2024-01-16workflows/check-by-name: Pin nixpkgs-check-by-name toolSilvan Mosberger1-1/+1
Before this, the tool for CI would update when nixos-unstable updated, which is kind of terrible because you don't know when it happens, and it might break master. In fact, the tooling _right now_ has a serious bug and shouldn't be used! This PR addresses this by _pinning_ the tooling in Nixpkgs itself. Updating the tooling now requires two PRs: - The first PR to update the tooling source - (wait for Hydra to build and publish it in nixos-unstable) - The second PR to update the pinned tooling In turn you know exactly when the changes are going to take effect. This change however has additional benefits: - It makes CI more reproducible, because it doesn't depend on the state of nixos-unstable anymore - Updates to the tooling can be tested with the workflow itself, because PRs that update the pinned tool will be tested on the updated version - CI gets a sizable speed boost, because there's no need to download and evaluate a channel anymore - It makes it more realistic to move the source of the tool into a separate repository - It removes the brittle branch-specific logic that was previously needed to ensure that release branches use their own version of the tooling.
2024-01-16ci: Fix nix-parse workflowJanne Heß1-1/+3
The nix_path definition was missing :/
2024-01-16ci: Only check nix files when any nix file changedJanne Heß1-0/+5
2024-01-10ci: Check if all nix files are parseableJanne Heß1-0/+35
2023-12-22Merge pull request #274591 from tweag/by-name-reproducibleSilvan Mosberger1-115/+16
`pkgs/by-name`: Enable gradual migration checks and add `run-local.sh`
2023-12-22maintainers/scripts/check-by-name.sh: Introduce symlink aliasSilvan Mosberger1-1/+1
2023-12-20Merge pull request #273773 from nbraud/scripts/doc/check-manpage-urlsSilvan Mosberger1-1/+1
maintainers: Add new script to check URLs in `doc/manpage-urls.json`
2023-12-20check-by-name: Pass --base in CI and local running scriptSilvan Mosberger1-1/+1
This enables the ratchet checks for pkgs/by-name, allowing gradual migrations!
2023-12-20workflows/check-by-name: Slim down and prepare for --baseSilvan Mosberger1-81/+11
Now that we have a script to run the check locally, there's no real need to output the information to reproduce anymore, which allows cleaning up the CI workflow. Furthermore, this prepares the CI workflow to be passed `--base`, as introduced recently.
2023-12-19workflows/check-by-name: Why the mergeability check needs to be inlineSilvan Mosberger1-0/+3
2023-12-19workflows/check-by-name: Move tool fetching into scriptSilvan Mosberger1-34/+2
This part of the CI can also be reproduced locally
2023-12-18workflows/manual-nixpkgs: Run the manual's testsnicoo1-1/+1
2023-12-15workflows/check-by-name: Cancel on merge conflictsSilvan Mosberger1-3/+11
2023-12-08.github/workflows/update-terraform-providers.yml: use opentofu instead of ↵zowoq1-1/+1
terraform terraform is unfree and can't be built on ofborg
2023-12-05build(deps): bump cachix/cachix-action from 12 to 13 (#272012)dependabot[bot]3-3/+3
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 12 to 13. - [Release notes](https://github.com/cachix/cachix-action/releases) - [Commits](https://github.com/cachix/cachix-action/compare/6a9a34cdd93d0ae4b4b59fd678660efb08109f2f...6a2e08b5ebf7a9f285ff57b1870a4262b06e0bee) --- 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>
2023-12-05build(deps): bump cachix/install-nix-action from 23 to 24 (#272011)dependabot[bot]7-7/+7
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011...7ac1ec25491415c381d9b62f0657c7a028df52a7) --- 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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-02workflows/periodic-merge: allow manual dispatchMartin Weinelt2-0/+2
Currently there is an eval fix on master and waiting five hours for it to propagate into staging-next and staging is annoyingly long.
2023-12-01Merge pull request #270496 from tweag/by-name-backoffSilvan Mosberger1-4/+21
workflows/check-by-name: Limited and exponential retries
2023-11-29ci: pin third party actionsVictor Engmark11-28/+27
For reproducibility. Command: ```shell for file in .github/workflows/*.y*ml; do npx pin-github-action --comment=' {ref}' "$file" done ``` Then had to manually replace all the versions with accurate specifiers (for example, "v4" → "v4.1.1" in case of `actions/checkout`).
2023-11-27workflows/check-by-name: Set 10 minute timeoutSilvan Mosberger1-0/+3
Co-Authored-By: Cole Helbling <cole.e.helbling@outlook.com>
2023-11-27workflows/check-by-name: Limited and exponential retriesSilvan Mosberger1-4/+18
We've had a recent PR CI mass failure event, ultimately caused by the mergeability check GitHub API not returning a result. But due to the `pkgs/by-name` check workflow not backing off appropriately between retries, it pummeled the API, resulting in exceeding the API rate limit: https://github.com/NixOS/nixpkgs/actions/runs/7010089143/job/19069845070 This commit fixes that for the future by implementing a retry strategy limited to three retries, with exponential backoff
2023-11-22workflows/check-by-name: If channel no existent, fall back to nixos-unstableSilvan Mosberger1-3/+9
2023-11-2124.05 is Uakari 24.05-prefigsoda1-0/+4
2023-11-13build(deps): bump korthout/backport-action from 2.1.0 to 2.1.1dependabot[bot]1-1/+1
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 2.1.0 to 2.1.1. - [Release notes](https://github.com/korthout/backport-action/releases) - [Commits](https://github.com/korthout/backport-action/compare/v2.1.0...v2.1.1) --- updated-dependencies: - dependency-name: korthout/backport-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07build(deps): bump korthout/backport-action from 2.0.0 to 2.1.0dependabot[bot]1-1/+1
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 2.0.0 to 2.1.0. - [Release notes](https://github.com/korthout/backport-action/releases) - [Commits](https://github.com/korthout/backport-action/compare/v2.0.0...v2.1.0) --- 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>
2023-10-30build(deps): bump korthout/backport-action from 1.3.1 to 2.0.0dependabot[bot]1-1/+1
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 1.3.1 to 2.0.0. - [Release notes](https://github.com/korthout/backport-action/releases) - [Commits](https://github.com/korthout/backport-action/compare/v1.3.1...v2.0.0) --- updated-dependencies: - dependency-name: korthout/backport-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18workflows/check-by-name: Improved mergeability checkSilvan Mosberger1-6/+26
2023-10-17workflows/check-by-name: print failed command outputArtturin1-1/+3
2023-10-06Merge pull request #259074 from tweag/detect-merge-conflictsSilvan Mosberger1-3/+11
workflows/check-by-name: Better error for merge conflicts
2023-10-05workflows/check-by-name: Better error for merge conflictsSilvan Mosberger1-3/+11
2023-10-04workflows/check-by-name: Add a missing colonSilvan Mosberger1-1/+1
2023-10-02workflows/check-by-name: Better error when base branch also failsSilvan Mosberger1-1/+90
Previously, even if the check also failed on the base branch, it looked like the PR introduced the failure. We can easily have a better error message for such cases. Meanwhile this also paves the road for something like https://github.com/NixOS/nixpkgs/issues/256788