Optionalize the stylix.image option when stylix.base16Scheme is set,
making the following Stylix configurations valid:
[
// Now it possible to set 'stylix.image = null', if
// stylix.base16Scheme is set.
{
base16Scheme = /* ... */;
}
// This configuration was already possible.
{
image = /* ... */;
}
// This configuration was already possible.
{
base16Scheme = /* ... */;
image = /* ... */;
}
]
Closes: https://github.com/danth/stylix/issues/200
Closes: https://github.com/danth/stylix/issues/442
Link: https://github.com/danth/stylix/pull/717
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Make the get-derivations job fail when the command writing to the
$GITHUB_OUTPUT file fails.
Previously, the $GITHUB_OUTPUT file was successfully created when the
input command failed, resulting in an empty $GITHUB_OUTPUT file. [1]
[1]: https://stackoverflow.com/questions/59287865
Disable IFD in the CI to prevent regressions mentioned in commit
e72aa84da1 ("{vencord,vesktop}: revert attempt to support fonts
(#844)").
Link: https://github.com/danth/stylix/pull/855
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Run the CI on PRs, while preventing it from running twice for non-fork
PRs by limiting the push event to protected branches. [1]
This restores the workflow trigger that was accidentally modified in
commit 2b85a56235 ("ci: simplify workflows").
[1]: https://github.com/danth/stylix/pull/749#issuecomment-2573437938
Prevent the Check workflow from running duplicated checks outputs.
The jq query should now be faster and arguably more readable.
Link: https://github.com/danth/stylix/pull/519
Consolidate the separate Build and Lint workflows into a unified Check
workflow, as linting is now integrated into the build process.
Link: https://github.com/danth/stylix/pull/519
Prevent some unexpected flake.nix and flock.lock revision
inconsistencies by building configurations with the
--no-update-lock-file option:
> --no-update-lock-file
>
> Do not allow any updates to the flake's lock file.
>
> -- nix3-build(1)
Link: https://github.com/danth/stylix/pull/674
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This is heavily based on the workflow used by Nixpkgs.
It allows us to automatically create backport pull requests by labelling
the original pull request.
Labels should use the format `backport «branch»`.
The workflow attempts to skip the deployment step when it is run on other
branches, however environment protection rules are checked before this, causing
a failure.