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-13 03:59:14 +01:00
|
|
|
uses: cachix/install-nix-action@v19
|
2023-03-01 22:43:44 +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-23 03:28:53 +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
|