mirror of
https://github.com/foo-dogsquared/nix-module-wrapper-manager-fds.git
synced 2025-01-30 22:57:58 +00:00
ci: add update Nix dependencies
This commit is contained in:
parent
7313cfa666
commit
1e2c8e1dd9
26
.github/workflows/update-deps.yml
vendored
Normal file
26
.github/workflows/update-deps.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: Update Nix dependencies
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
# This is done on a biweekly basis.
|
||||
- cron: '0 0 1,15 * *'
|
||||
|
||||
jobs:
|
||||
update-nix-deps:
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: DeterminateSystems/nix-installer-action@v15
|
||||
- run: nix develop --command make update
|
||||
- id: datetime
|
||||
run: |
|
||||
echo "DATETIME=$(date '+%F')" >> "$GITHUB_OUTPUT"
|
||||
- name: Create pull request
|
||||
uses: peter-evans/create-pull-request
|
||||
with:
|
||||
title: "ci: update lockfile as of ${{ steps.update-nix-deps.datetime.outputs.DATETIME }}"
|
||||
body: ""
|
||||
labels: npins-update
|
Loading…
Reference in New Issue
Block a user