From 6a9713a0cca758b1dce6aea0d81d3ae90b35efea Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Mon, 20 Nov 2023 15:10:40 +1100 Subject: [PATCH] Add author for the format bot The format bot defaults to using the person who triggered the workflow. We can use the `author` option to configure a dummy bot author. --- .github/workflows/rustfmt.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/rustfmt.yml b/.github/workflows/rustfmt.yml index 4fb721e0..24d88e8a 100644 --- a/.github/workflows/rustfmt.yml +++ b/.github/workflows/rustfmt.yml @@ -19,6 +19,7 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: + author: Fmt Bot title: Automated nightly rustfmt (${{ env.date }}) body: | Automated nightly `rustfmt` changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action