Skip to content

feat: Add _operation variable #322

feat: Add _operation variable

feat: Add _operation variable #322

Workflow file for this run

name: autofix.ci # needed to securely identify the workflow
on:
pull_request:
push:
branches: ["master"]
permissions:
contents: read
jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Install Nix and set up Cachix
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v15
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: devenv
name: copier
pushFilter: (-source$|nixpkgs\.tar\.gz$)
# Autoformat and try to push back changes
- run: nix develop --impure -c pre-commit run -a --show-diff-on-failure
continue-on-error: true
# HACK https://github.com/autofix-ci/action/pull/15
- run: nix develop --impure -c pre-commit uninstall -t pre-commit -t commit-msg
- uses: autofix-ci/[email protected]
with:
commit-message: "style: autoformat with pre-commit"