Skip to content

Commit 32ba8dc

Browse files
committed
fix(generate_prs): Use a valid author for scheduled run as it will be used as the PR reviewer.
1 parent 78deb1a commit 32ba8dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/generate_prs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
- name: Set commit message for schedule
134134
if: ${{ github.event_name == 'schedule' }}
135135
run: |
136-
echo "AUTHOR=Github Actions"
136+
echo "AUTHOR=stackabletech/developers"
137137
echo "REASON=Daily run triggered" >> "$GITHUB_ENV"
138138
139139
- name: Overwrite repositories.yaml for ${{ matrix.repository.name }}
@@ -152,7 +152,7 @@ jobs:
152152
if: ${{ !inputs.dry-run }}
153153
run: |
154154
# Funnel via JSON to ensure that values are escaped properly
155-
echo '{}' | jq '{commit_hash: $ENV.GITHUB_SHA, author: $ENV.AUTHOR, reason: $ENV.REASON, base_dir: $pwd, gh_access_token: $ENV.GH_ACCESS_TOKEN}' --arg pwd "$(pwd)" > vars.json
155+
echo '{}' | jq '{commit_hash: $ENV.GITHUB_SHA, author: $ENV.AUTHOR, reason: $ENV.REASON, base_dir: $pwd, gh_access_token: $ENV.GH_ACCESS_TOKEN}' --arg pwd "$(pwd)" > vars.json
156156
ansible-playbook playbook/playbook.yaml --extra-vars "@vars.json"
157157
env:
158158
GH_ACCESS_TOKEN: ${{ secrets.gh_access_token }}

0 commit comments

Comments
 (0)