Skip to content

Commit

Permalink
chore: fix autofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Apr 4, 2024
1 parent 0f029e7 commit fa13694
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/autofmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
ref: main
fetch-depth: 0
token: ${{ secrets.FTL_AUTOFMT_TOKEN }}
- name: Init Hermit
run: ./bin/hermit env -r >> "$GITHUB_ENV"
- name: Auto format
Expand All @@ -28,4 +30,4 @@ jobs:
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git commit -am "chore(autofmt): Automated formatting"
git push
git push
2 changes: 1 addition & 1 deletion backend/controller/controller.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package controller

import (
"context"
"errors"
"context"
"fmt"
"io"
"math/rand"
Expand Down

0 comments on commit fa13694

Please sign in to comment.