Skip to content

Update internal flake dependencies #49

Update internal flake dependencies

Update internal flake dependencies #49

Workflow file for this run

name: Update flake dependencies
on:
workflow_dispatch: # for allowing manual triggers of the workflow
schedule:
- cron: '37 16 3,18 * *'
permissions:
contents: read
jobs:
update-and-push-deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v15
with:
name: crane
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Update flake.lock
id: flakeupdate
uses: DeterminateSystems/update-flake-lock@v23
with:
token: ${{ secrets.PAT_FLAKE_UPDATE }}
branch: "automation/flake-update"
pr-title: "Update flake.lock"
pr-labels: |
automated
dependencies
flake update
- name: Enable Pull Request Automerge
run: gh pr merge --squash --delete-branch --auto ${{ steps.flakeupdate.outputs.pull-request-number }}
env:
GH_TOKEN: ${{ secrets.PAT_FLAKE_UPDATE }}