mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
32 lines
931 B
YAML
32 lines
931 B
YAML
name: flake-update
|
|
on:
|
|
workflow_dispatch: # allows manual triggering
|
|
schedule:
|
|
- cron: '0 1 * * *' # runs daily at 01:00
|
|
|
|
jobs:
|
|
lockfile:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v3.5.3
|
|
- name: install
|
|
uses: DeterminateSystems/nix-installer-action@v4
|
|
- name: update
|
|
uses: DeterminateSystems/update-flake-lock@v19
|
|
with:
|
|
pr-title: "Update flake.lock" # Title of PR to be created
|
|
pr-labels: | # Labels to be set on the PR
|
|
dependencies
|
|
automated
|
|
- name: Merge
|
|
uses: justinyoo/github-pr-merge-action@v1.0.0
|
|
with:
|
|
authToken: ${{ secrets.GITHUB_TOKEN }}
|
|
owner: Gerg-L
|
|
repository: nixos
|
|
issueId: '2'
|
|
mergeMethod: Squash
|
|
commitTitle: ''
|
|
commitDescription: ''
|
|
deleteBranch: 'true'
|