Skip to content

Commit 67c696b

Browse files
author
markzegarelli
authored
Update repo-sync.yml
1 parent 2c1f2e6 commit 67c696b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/repo-sync.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,20 @@ jobs:
3232
pr_body: "This is an automated pull request to sync changes between the public and private repos.\n\n:robot: This pull request should be merged (not squashed) to preserve continuity across repos, so please let a bot do the merging!"
3333
pr_label: autoupdate,automated-reposync-pr
3434
github_token: ${{ secrets.DOCS_BOT_PAT_REPO_SCOPE }}
35+
36+
- name: Find pull request
37+
uses: juliangruber/find-pull-request-action@v1
38+
id: find-pull-request
39+
with:
40+
github-token: ${{ secrets.GITHUB_TOKEN }}
41+
branch: repo-sync
42+
base: master
43+
author: bot-docsteam
44+
state: open
45+
46+
- name: Approve pull request
47+
if: ${{ steps.find-pull-request.outputs.number }}
48+
uses: juliangruber/approve-pull-request-action@v1
49+
with:
50+
github-token: ${{ secrets.GITHUB_TOKEN }}
51+
number: ${{ steps.find-pull-request.outputs.number }}

0 commit comments

Comments
 (0)