Skip to content

refactored: deprecated networking userControlled #287

refactored: deprecated networking userControlled

refactored: deprecated networking userControlled #287

Workflow file for this run

# Format all Nix files with treefmt. On push: create & auto-merge a PR.
# On PR: fail if formatting drifts.
name: Format
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
permissions: {}
jobs:
format:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
pull-requests: write
checks: read
statuses: read
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/determinate-nix-action@v3
- name: Run nix fmt
run: nix fmt
- name: Check formatting (PR only)
if: github.event_name == 'pull_request'
run: git diff --exit-code
- name: Create pull request
id: pr
if: github.event_name == 'push'
uses: peter-evans/create-pull-request@v8
with:
commit-message: "style(fmt): apply nix formatting"
title: "style(fmt): apply nix formatting"
body: |
Automated formatting applied by `nix fmt` via [treefmt](https://github.com/numtide/treefmt).
This PR ensures all Nix files conform to the project's formatting standards.
branch: auto/fmt
labels: automated, style
outputs:
pull-request-url: ${{ steps.pr.outputs.pull-request-url }}
merge:
needs: format
if: github.event_name == 'push'
uses: ./.github/workflows/auto-merge.yml
with:
pull-request-url: ${{ needs.format.outputs.pull-request-url }}
permissions:
contents: write
pull-requests: write
checks: read
statuses: read