-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Description
I was trying out the first given example
name: update-flake-lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
pr-title: "Update flake.lock" # Title of PR to be created
pr-labels: | # Labels to be set on the PR
dependencies
automatedWorkflow fails with below error
Run DeterminateSystems/update-flake-lock@main
Run echo "GIT_AUTHOR_NAME=github-actions[bot]" >> $GITHUB_ENV
Run node "$GITHUB_ACTION_PATH/dist/index.js"
/nix/var/nix/profiles/default/bin/nix flake update --commit-lock-file --commit-lockfile-summary flake.lock: Update
error: unrecognised flag '--commit-lockfile-summary'
Try '/nix/var/nix/profiles/default/bin/nix --help' for more information.
Error: Error: The process '/nix/var/nix/profiles/default/bin/nix' failed with exit code 1
Error: Process completed with exit code 1.Metadata
Metadata
Assignees
Labels
No labels