File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,11 +81,12 @@ jobs:
8181
8282 - name : Create pull request
8383 if : steps.check-changes.outputs.has_changes == 'true'
84+ id : cpr
8485 uses : peter-evans/create-pull-request@v7
8586 env :
8687 HUSKY : 0
8788 with :
88- token : ${{ secrets.GITHUB_TOKEN }}
89+ token : ${{ secrets.DOCS_PUBLISHABLE_GH_TOKEN }}
8990 commit-message : " [AUTO] Adding MCP Servers docs update"
9091 title : " [AUTO] Adding MCP Servers docs update"
9192 body : |
9798 - Run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
9899 branch : automation/toolkit-docs-${{ github.run_id }}
99100 delete-branch : true
101+
102+ - name : Request team review
103+ if : steps.check-changes.outputs.has_changes == 'true' && steps.cpr.outputs.pull-request-number != ''
104+ continue-on-error : true
105+ run : gh pr edit ${{ steps.cpr.outputs.pull-request-number }} --add-reviewer ArcadeAI/engineering-tools-and-dx
106+ env :
107+ GH_TOKEN : ${{ secrets.DOCS_PUBLISHABLE_GH_TOKEN }}
Original file line number Diff line number Diff line change @@ -49,12 +49,13 @@ jobs:
4949
5050 - name : Create pull request
5151 if : steps.check-changes.outputs.has_changes == 'true'
52+ id : cpr
5253 uses : peter-evans/create-pull-request@v7
5354 env :
5455 HUSKY : 0
5556 SKIP_HUSKY : 1
5657 with :
57- token : ${{ secrets.GITHUB_TOKEN }}
58+ token : ${{ secrets.DOCS_PUBLISHABLE_GH_TOKEN }}
5859 commit-message : " chore: update @arcadeai/design-system to latest"
5960 title : " chore: update @arcadeai/design-system to latest"
6061 body : |
7071 pnpm-lock.yaml
7172 branch : automation/update-design-system-dependency
7273 delete-branch : true
74+
75+ - name : Request team review
76+ if : steps.check-changes.outputs.has_changes == 'true' && steps.cpr.outputs.pull-request-number != ''
77+ continue-on-error : true
78+ run : gh pr edit ${{ steps.cpr.outputs.pull-request-number }} --add-reviewer ArcadeAI/engineering-tools-and-dx
79+ env :
80+ GH_TOKEN : ${{ secrets.DOCS_PUBLISHABLE_GH_TOKEN }}
You can’t perform that action at this time.
0 commit comments