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-03-15 14:17:28 +01:00
|
|
|
uses: DeterminateSystems/update-flake-lock@v17
|
2022-08-22 22:49:13 +02:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
|
|
|
pr-labels: dependencies
|