Skip to content

Update Flake Lock

Update Flake Lock #2

name: Update Flake Lock
on:
schedule:
- cron: '0 0 * * *' # every day at midnight
jobs:
check-build:
uses: ./.github/workflows/build-template.yml

Check failure on line 9 in .github/workflows/update-flake-lock.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/update-flake-lock.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/update-flake-lock.yaml" -> "./.github/workflows/build-template.yml" : failed to fetch workflow: workflow was not found.
with:
template: 'starter'
arch: 'x86_64-linux'
update-flake:
runs-on: ubuntu-latest
needs: check-build
if: ${{ needs.check-build.outputs.build-success == 'true' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Setup Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check flake
run: nix flake check
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
pr-title: "Update flake.lock"
pr-labels: |
dependencies
automated