From 613e34beeb42458d307858e027e64dad0030549f Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Thu, 13 Jun 2024 19:48:39 +0100 Subject: [PATCH] fix: configure git email and username --- .forgejo/workflows/test.yml | 6 +++--- Dockerfile | 2 ++ README.md | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index cfed590..b7b6410 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -6,16 +6,16 @@ jobs: - uses: actions/checkout@v4 - name: Test - uses: https://git.kemitix.net/kemitix/rust@v0.3.0 + uses: https://git.kemitix.net/kemitix/rust@v0.3.1 with: args: test - name: Build - uses: https://git.kemitix.net/kemitix/rust@v0.3.0 + uses: https://git.kemitix.net/kemitix/rust@v0.3.1 with: args: build - name: Run - uses: https://git.kemitix.net/kemitix/rust@v0.3.0 + uses: https://git.kemitix.net/kemitix/rust@v0.3.1 with: args: run diff --git a/Dockerfile b/Dockerfile index a529f83..e99cb2a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,4 +30,6 @@ RUN rustup component add rustfmt clippy COPY entrypoint.sh / +RUN git config --global user.email "action@git.kemitix.net" && git config --global user.name "ForgeJo Action. See: https://git.kemitix.net/kemitix/rust" + ENTRYPOINT [ "/entrypoint.sh" ] diff --git a/README.md b/README.md index c750656..52d2751 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,10 @@ jobs: test: runs-on: docker steps: - - uses: https://git.kemitix.net/kemitix/rust@v0.3.0 + - uses: https://git.kemitix.net/kemitix/rust@v0.3.1 with: args: test - - uses: https://git.kemitix.net/kemitix/rust@v0.3.0 + - uses: https://git.kemitix.net/kemitix/rust@v0.3.1 with: args: build ```