Skip to content

chore(flake): update #91

chore(flake): update

chore(flake): update #91

# This file was autogenerated by actions.nix. Do not edit it manually.
# To make changes, edit the workflow definition in your flake's actions-nix configuration
# (typically under flake.actions-nix.workflows.".github/workflows/regenerate-workflows.yaml") and run:
# nix run .#render-workflows
# Or commit to trigger the pre-commit hook if enabled.
jobs:
regenerate:
if: github.actor == 'renovate[bot]' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
fetch-depth: 2
ref: ${{ github.head_ref || github.ref_name }}
token: ${{ secrets.PAT }}
- uses: DeterminateSystems/nix-installer-action@c5a866b6ab867e88becbed4467b93592bce69f8a
with:
extra-conf: |-
accept-flake-config = true
always-allow-substitutes = true
builders-use-substitutes = true
max-jobs = auto
- uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306
with:
key: nix-eval-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('flake.lock')
}}
path: ~/.cache/nix
restore-keys: nix-eval-${{ runner.os }}-${{ runner.arch }}-
- uses: cachix/cachix-action@3ba601ff5bbb07c7220846facfa2cd81eeee15a1
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: nix-community
name: bbigras-nix-config
- name: Regenerate workflows
run: nix run .#render-workflows
- name: Amend commit with regenerated workflows
run: |-
git config user.name "github[bot]"
git config user.email "noreply@github.com"
git add .github/workflows/
git diff --staged --quiet || git commit --amend --no-edit
git push --force-with-lease
- uses: peter-evans/enable-pull-request-automerge@a660677d5469627102a1c1e11409dd063606628d
with:
merge-method: rebase
pull-request-number: ${{ github.event.pull_request.number }}
token: ${{ secrets.PAT }}
timeout-minutes: 60
name: regenerate-workflows
'on':
pull_request:
paths:
- modules/flake-parts/actions.nix
- flake.lock
workflow_dispatch: {}
permissions:
contents: write
pull-requests: write