mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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:
parent
70982dfa5a
commit
946e41e59d
3 changed files with 3 additions and 3 deletions
2
.github/workflows/scheduled-wpt-import.yml
vendored
2
.github/workflows/scheduled-wpt-import.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue