Skip to content

Commit 471582f

Browse files
authored
Merge branch 'main' into repo-sync
2 parents ced3f5f + b6bd7d8 commit 471582f

18 files changed

Lines changed: 103 additions & 27 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ package.json @github/docs-engineering
2020
/.github/workflows/crowdin.yml @github/docs-localization
2121
/crowdin*.yml @github/docs-engineering @github/docs-localization
2222
/translations/ @github/docs-engineering @github/docs-localization @github-actions
23-
/translations/log/ @github/docs-localization
23+
/translations/log/ @github/docs-localization @github-actions
2424

2525
# Site Policy
2626
/content/github/site-policy/ @github/site-policy-admins

.github/workflows/create-translation-batch-pr.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,18 @@ jobs:
172172
--body-file /tmp/pr-body.txt || git push origin :${{ steps.set-branch.outputs.BRANCH_NAME }} \
173173
--label "translation-batch"
174174
175+
- name: Approve PR
176+
if: github.ref_name == 'main'
177+
env:
178+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
179+
run: gh pr review --approve || echo "Nothing to approve"
180+
181+
- name: Set auto-merge
182+
if: github.ref_name == 'main'
183+
env:
184+
GITHUB_TOKEN: ${{ secrets.DOCUBOT_REPO_PAT }}
185+
run: gh pr merge ${{ steps.set-branch.outputs.BRANCH_NAME }} --auto --squash || echo "Nothing to merge"
186+
175187
# When the maximum execution time is reached for this job, Actions cancels the workflow run.
176188
# This emits a notification for the first responder to triage.
177189
- name: Send Slack notification if workflow is cancelled
34.2 KB
Loading
10.5 KB
Loading
13.7 KB
Loading
7.7 KB
Loading
226 KB
Loading
32.4 KB
Loading
125 KB
Loading
46.6 KB
Loading

0 commit comments

Comments
 (0)