-
Notifications
You must be signed in to change notification settings - Fork 44
27 lines (25 loc) · 803 Bytes
/
update.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Auto Update Flake Inputs
on:
schedule:
# run this daily at 8am UTC, or roughly 4am eastern
- cron: '0 8 * * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v19
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
pr-title: "Update flake.lock"
pr-labels: |
dependencies
automated