Skip to content

Update flake.lock

Update flake.lock #93

name: Update flake.lock
on:
workflow_dispatch:
schedule:
- cron: "37 21 * * 3,6"
permissions:
contents: write
pull-requests: write
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install Nix
uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
id: app-token
with:
app-id: ${{ secrets.CI_APP_ID }}
private-key: ${{ secrets.CI_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- name: Update flake.lock
id: update
uses: DeterminateSystems/update-flake-lock@834c491b2ece4de0bbd00d85214bb5e83b4da5c6 # v28
with:
token: ${{ steps.app-token.outputs.token }}
commit-msg: "Update flake.lock"
pr-title: "Update flake.lock"
- name: Enable auto-merge
if: ${{ steps.update.outputs.pull-request-number }}
run: gh pr merge --rebase --auto --delete-branch ${{ steps.update.outputs.pull-request-number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}