From 379bde0c5588544d65436c18bbdf03bba9a8c04b Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Thu, 4 Apr 2024 18:41:49 +1100 Subject: [PATCH] chore: fix autofmt --- .github/workflows/autofmt.yml | 3 ++- backend/controller/controller.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/autofmt.yml b/.github/workflows/autofmt.yml index 8d63f175ca..95616d8cc4 100644 --- a/.github/workflows/autofmt.yml +++ b/.github/workflows/autofmt.yml @@ -27,5 +27,6 @@ jobs: run: | git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.name "github-actions[bot]" + git remote set-url origin https://x-access-token:${{ secrets.FTL_AUTOFMT_TOKEN }}@github.com/${{ github.repository }} git commit -am "chore(autofmt): Automated formatting" - git push \ No newline at end of file + git push diff --git a/backend/controller/controller.go b/backend/controller/controller.go index 87292e4db9..255e01ae93 100644 --- a/backend/controller/controller.go +++ b/backend/controller/controller.go @@ -1,8 +1,8 @@ package controller import ( - "context" "errors" + "context" "fmt" "io" "math/rand"