Some checks failed
CI / Build (ubuntu-latest) (push) Waiting to run
CI / Build (windows-latest) (push) Waiting to run
CI / Flake checks (push) Waiting to run
CI / CI Release gate (push) Blocked by required conditions
Docker / Build image (push) Waiting to run
Docker / Docker Release gate (push) Blocked by required conditions
Docker / Push image (push) Blocked by required conditions
Clippy / Run scan (push) Has been cancelled
36 lines
856 B
YAML
36 lines
856 B
YAML
name: Update flake.lock
|
|
|
|
on:
|
|
schedule:
|
|
# run every saturday
|
|
- cron: '0 0 * * 6'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
update:
|
|
name: Run update
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Nix
|
|
uses: DeterminateSystems/nix-installer-action@v17
|
|
|
|
- name: Update flake.lock
|
|
id: update
|
|
uses: DeterminateSystems/update-flake-lock@v25
|
|
with:
|
|
pr-title: 'nix: update flake.lock'
|
|
|
|
- name: Enable Pull Request Automerge
|
|
uses: peter-evans/enable-pull-request-automerge@v3
|
|
with:
|
|
pull-request-number: ${{ steps.update.outputs.pull-request-number }}
|
|
merge-method: rebase
|
|
github-token: ${{ secrets.AUTOMATA_TOKEN }}
|