Skip to content

Commit a66f635

Browse files
committed
REVERT BEFORE LANDING - Debugging in the PR
1 parent ee293a3 commit a66f635

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/l10n-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
# Runs at 8 AM UTC every day
66
- cron: '0 8 * * *'
77
workflow_dispatch:
8+
pull_request:
89

910
jobs:
1011
tests:
@@ -22,7 +23,6 @@ jobs:
2223
l10n-sync:
2324
runs-on: ubuntu-latest
2425
needs: tests
25-
if: github.ref == 'refs/heads/main'
2626
steps:
2727
- name: Checkout code
2828
uses: actions/checkout@v5

bin/l10n-sync.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,8 @@ async function tryToSync(upstream) {
327327

328328
console.log(`>>> Pushing to ${upstream}'s l10n branch.`);
329329
await pauseWithMessageIfNecessary();
330-
await logAndExec('git', 'push', '--no-verify', upstream, 'HEAD:l10n');
330+
console.log('[DEBUG] Skipping push to remote for debugging purposes.');
331+
// await logAndExec('git', 'push', '--no-verify', upstream, 'HEAD:l10n');
331332

332333
console.log('>>> Going back to your previous banch.');
333334
await logAndExec('git', 'checkout', '-');

0 commit comments

Comments
 (0)