nixos-config/.github/workflows/update-flake-lock.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 16: cannot unmarshal !!str `ssh-key...` into map[string]string

25 lines
662 B
YAML

name: "Update flakes"
on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "0 3 * * *"
permissions:
pull-requests: write
contents: write
jobs:
createPullRequest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
with:
ssh-key; ${{ secrets.SSH_DEPLOY_KEY }}
- name: Install Nix
uses: cachix/install-nix-action@53fb48f556dd912c4814b24ee8059a9c91c82b18
- name: Update flake.lock
run: nix flake update --commit-lock-file
- name: Create PR
uses: peter-evans/create-pull-request@98106d3f2b65918a6591f9e155117b7219ff7e51