summaryrefslogtreecommitdiff
path: root/.github/workflows/data-update.yml
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 /.github/workflows/data-update.yml
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.
Diffstat (limited to '.github/workflows/data-update.yml')
-rw-r--r--.github/workflows/data-update.yml4
1 files changed, 3 insertions, 1 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