Auto Update Flake Inputs #1191
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v9 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Update flake.lock | |
uses: DeterminateSystems/update-flake-lock@v20 | |
with: | |
token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
pr-title: "Update flake.lock" | |
pr-labels: | | |
dependencies | |
automated |