summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Gabaldon <igabaldon@inetol.net>2025-05-14 23:51:22 +0200
committerIvan Gabaldon <igabaldon@inetol.net>2025-05-15 11:19:28 +0200
commit743f24d8c6b277191a915ef6f1558d6c33ee72c7 (patch)
treeb3666590bfc5b1bc166483b7e267a480b7dca693
parentbec76bc2e3cfd8160de80fb924b058c0f10f0140 (diff)
[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.
-rw-r--r--.github/workflows/data-update.yml4
-rw-r--r--.github/workflows/l10n.yml4
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 <searxng-bot@users.noreply.github.com>"
committer: "searxng-bot <searxng-bot@users.noreply.github.com>"
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 <searxng-bot@users.noreply.github.com>"
committer: "searxng-bot <searxng-bot@users.noreply.github.com>"
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