29 lines
694 B
YAML
29 lines
694 B
YAML
name: "Update flakes"
|
|
on:
|
|
push:
|
|
repository_dispatch:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '38 0 * * 2'
|
|
permissions:
|
|
pull-requests: write
|
|
contents: write
|
|
jobs:
|
|
update-flake-lock:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install dependencies for Nix setup action
|
|
run: |
|
|
apt update -y
|
|
apt install sudo -y
|
|
- name: Install Nix
|
|
uses: cachix/install-nix-action@v30
|
|
with:
|
|
github_access_token: ${{ secrets.API_TOKEN }}
|
|
- name: Update flake.lock
|
|
uses: k4lipso/update-flake-lock
|
|
with:
|
|
pr-labels: | # Labels to be set on the PR
|
|
autoupdate
|