mirror of
https://github.com/foo-dogsquared/hugo-theme-more-contentful.git
synced 2025-01-30 22:57:57 +00:00
31 lines
907 B
YAML
31 lines
907 B
YAML
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@v16
|
|
- 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@v7
|
|
with:
|
|
title: "ci: update lockfile as of ${{ steps.datetime.outputs.DATETIME }}"
|
|
delete-branch: true
|
|
branch: update-flake-lockfile
|
|
body: ""
|
|
commit-message: |
|
|
Update flake lockfile as of ${{ steps.datetime.outputs.DATETIME }}
|
|
labels: flake-update
|