nix-module-wrapper-manager-fds/.github/workflows/update-deps.yml

31 lines
908 B
YAML
Raw Normal View History

2024-11-12 10:15:49 +00:00
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
2024-11-12 10:15:49 +00:00
- run: nix develop --command make update
- id: datetime
run: |
echo "DATETIME=$(date '+%F')" >> "$GITHUB_OUTPUT"
- name: Create pull request
2024-11-15 06:28:36 +00:00
uses: peter-evans/create-pull-request@v7
2024-11-12 10:15:49 +00:00
with:
2024-11-17 09:32:12 +00:00
title: "ci: update lockfile as of ${{ steps.datetime.outputs.DATETIME }}"
2024-11-19 02:24:42 +00:00
delete-branch: true
2024-11-17 09:34:16 +00:00
branch: update-npins-lockfile
2024-11-12 10:15:49 +00:00
body: ""
2024-11-19 02:24:42 +00:00
commit-message: |
2024-11-17 09:32:12 +00:00
npins: update lockfile as of ${{ steps.datetime.outputs.DATETIME }}
2024-11-12 10:15:49 +00:00
labels: npins-update