Skip to content

Commit 2ae0019

Browse files
authored
[chore] set appropriate author for workflow PRs (#2176)
1 parent f038076 commit 2ae0019

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/update_docker_images.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
branch: "update-${{ matrix.name }}" # Same branch name for all PRs
7575
base: main
7676
delete-branch: true
77+
author: ${{ github.event_name == 'schedule' && 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>' || format('{0} <{1}+{0}@users.noreply.github.com>', github.actor, github.actor_id) }}
7778

7879
- name: Apply Version Update and Generate Changelog
7980
if: ${{ steps.check_for_update.outputs.NEED_UPDATE == 1 && steps.check_if_pr_open.outputs.PR_NEEDED == 1 && steps.open_pr.outputs.pull-request-number != '' }}
@@ -98,3 +99,4 @@ jobs:
9899
branch: "update-${{ matrix.name }}" # Same branch name for all PRs
99100
base: main
100101
delete-branch: true
102+
author: ${{ github.event_name == 'schedule' && 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>' || format('{0} <{1}+{0}@users.noreply.github.com>', github.actor, github.actor_id) }}

0 commit comments

Comments
 (0)