ci: Use a servo.org email address for the servo-wpt-sync GitHub bot (#32515)

This is the new address of the WPT sync bot.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Martin Robinson 2024-06-18 18:38:26 +02:00 committed by GitHub
parent 70982dfa5a
commit 946e41e59d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ jobs:
python3 ./mach bootstrap
- name: Add upstream remote
run: |
git config --local user.email "josh+wptsync@joshmatthews.net"
git config --local user.email "ghbot+wpt-sync@servo.org"
git config --local user.name "WPT Sync Bot"
git remote add upstream https://github.com/servo/servo.git
git fetch --unshallow upstream

View file

@ -33,7 +33,7 @@ def main() -> int:
github_api_token=os.environ['WPT_SYNC_TOKEN'],
github_api_url='https://api.github.com/',
github_username='servo-wpt-sync',
github_email='josh+wptsync@joshmatthews.net',
github_email='ghbot+wpt-sync@servo.org',
github_name='Servo WPT Sync',
).run(context["event"])
return 0 if success else 1

View file

@ -27,7 +27,7 @@ def do_sync(**kwargs) -> int:
# Commits should always be authored by the GitHub Actions bot.
os.environ["GIT_AUTHOR_NAME"] = "Servo WPT Sync"
os.environ["GIT_AUTHOR_EMAIL"] = "josh+wptsync@joshmatthews.net"
os.environ["GIT_AUTHOR_EMAIL"] = "ghbot+wpt-sync@servo.org"
os.environ["GIT_COMMITTER_NAME"] = os.environ['GIT_AUTHOR_NAME']
os.environ["GIT_COMMITTER_EMAIL"] = os.environ['GIT_AUTHOR_EMAIL']