zmk-config/.github/workflows/flake.yml
Alejandro Angulo 72d19e708a
Merge pull request #2 from alejandro-angulo/dependabot/github_actions/DeterminateSystems/nix-installer-action-12
ci: bump DeterminateSystems/nix-installer-action from 11 to 12
2024-07-22 10:25:37 -07:00

33 lines
806 B
YAML

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@v12
- id: update-flake-lock
uses: DeterminateSystems/update-flake-lock@v23
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