Skip to content

add slogbuffer

add slogbuffer #55

Workflow file for this run

name: Generate
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
readme:
name: README.md
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Nix
uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Set up magic Nix cache
uses: DeterminateSystems/magic-nix-cache-action@b46e247b898aa56e6d2d2e728dc6df6c84fdb738 # v7
- name: Prepare Nix shell
run: nix develop --impure .#ci
- name: Regenerate README
run: nix develop --impure .#ci -c make generate
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Regenerate README.md
file_pattern: README.md
if: github.event_name == 'push'