2024-07-13 17:22:41 +00:00
|
|
|
name: Flake
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * 0'
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
update:
|
|
|
|
name: Update
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
actions: write
|
|
|
|
contents: write
|
|
|
|
pull-requests: write
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- uses: DeterminateSystems/nix-installer-action@v11
|
|
|
|
|
|
|
|
- id: update-flake-lock
|
2024-07-13 17:47:17 +00:00
|
|
|
uses: DeterminateSystems/update-flake-lock@v23
|
2024-07-13 17:22:41 +00:00
|
|
|
with:
|
|
|
|
commit-msg: 'flake: update inputs'
|
|
|
|
pr-title: 'flake: update inputs'
|
|
|
|
pr-labels: 'dependencies'
|
|
|
|
|
|
|
|
- uses: benc-uk/workflow-dispatch@v1
|
|
|
|
if: ${{ contains(fromJSON('["created", "updated"]'), steps.update-flake-lock.outputs.pull-request-operation) }}
|
|
|
|
with:
|
|
|
|
workflow: ci.yml
|
|
|
|
ref: refs/heads/update_flake_lock_action
|