From 743f24d8c6b277191a915ef6f1558d6c33ee72c7 Mon Sep 17 00:00:00 2001 From: Ivan Gabaldon Date: Wed, 14 May 2025 23:51:22 +0200 Subject: [PATCH] [fix] CI: commit author should be `searxng-bot` If the workflow is executed with the "workflow_dispatch" trigger, the user who executed the workflow becomes the author of the commit on the PR, this is not intended. It also reverts the body param so that the default text of the action does not appear. --- .github/workflows/data-update.yml | 4 +++- .github/workflows/l10n.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/data-update.yml b/.github/workflows/data-update.yml index 37b226081..4deca2ffc 100644 --- a/.github/workflows/data-update.yml +++ b/.github/workflows/data-update.yml @@ -66,7 +66,7 @@ jobs: id: cpr uses: peter-evans/create-pull-request@v7 with: - author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>" + author: "searxng-bot " committer: "searxng-bot " title: "[data] update searx.data - ${{ matrix.fetch }}" commit-message: "[data] update searx.data - ${{ matrix.fetch }}" @@ -74,6 +74,8 @@ jobs: delete-branch: "true" draft: "false" signoff: "false" + body: | + [data] update searx.data - ${{ matrix.fetch }} labels: | data diff --git a/.github/workflows/l10n.yml b/.github/workflows/l10n.yml index bba987d36..0b23975d3 100644 --- a/.github/workflows/l10n.yml +++ b/.github/workflows/l10n.yml @@ -119,7 +119,7 @@ jobs: id: cpr uses: peter-evans/create-pull-request@v7 with: - author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>" + author: "searxng-bot " committer: "searxng-bot " title: "[l10n] update translations from Weblate" commit-message: "[l10n] update translations from Weblate" @@ -127,6 +127,8 @@ jobs: delete-branch: "true" draft: "false" signoff: "false" + body: | + [l10n] update translations from Weblate labels: | translation