From dfe727cdf36ada8ebf2c3a00c52cc646618b767b Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Fri, 22 Nov 2024 17:08:57 +0100 Subject: [PATCH] Commit Taplo directly instead of going through a PR ... --- .github/workflows/test_toml.yaml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test_toml.yaml b/.github/workflows/test_toml.yaml index 546272809c..cdca27c00e 100644 --- a/.github/workflows/test_toml.yaml +++ b/.github/workflows/test_toml.yaml @@ -13,14 +13,11 @@ jobs: - uses: uncenter/setup-taplo@v1 - run: taplo fmt - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v6 + + - uses: stefanzweifel/git-auto-commit-action@v5 with: - token: ${{ secrets.GITHUB_TOKEN }} - title: "Format TOML with Taplo" - commit-message: ":art: Format TOML with Taplo" - body: | - This pull request uses the [Taplo](https://taplo.tamasfe.dev) formatter. - base: ${{ github.head_ref }} # Creates pull request onto pull request or commit branch - branch: actions/toml + commit_message: ":art: Format TOML with Taplo" + file_pattern: 'apps.toml wishlist.toml graveyard.toml' + commit_user_name: yunohost-bot + commit_user_email: yunohost-bot@users.noreply.github.com + commit_author: 'yunohost-bot '