2022-08-22 22:49:13 +02:00
|
|
|
name: Update flake inputs
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
# Update every Sunday and Wednesday
|
|
|
|
- cron: "51 3 * * 0,3"
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
update:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install Nix
|
2023-02-19 23:48:19 +01:00
|
|
|
uses: cachix/install-nix-action@v19
|
2023-02-28 22:03:28 +01:00
|
|
|
with:
|
|
|
|
install_url: https://releases.nixos.org/nix/nix-2.13.3/install
|
2022-08-22 22:49:13 +02:00
|
|
|
- name: Update flake.lock
|
2023-01-26 22:58:41 +01:00
|
|
|
uses: DeterminateSystems/update-flake-lock@v16
|
2022-08-22 22:49:13 +02:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
|
|
|
pr-labels: dependencies
|