Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/sync-agent-sdk-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,21 +114,21 @@ jobs:

**Note**: This is an automated pull request. Please review the changes to ensure they are correct before merging.

# Auto-approve using PAT_TOKEN (all-hands-bot). PR is created by
# Auto-approve using OPENHANDS_BOT_GITHUB_PAT_PUBLIC (all-hands-bot). PR is created by
# github-actions[bot], so a different identity (all-hands-bot) can approve it.
- name: Auto-approve PR
if: steps.cpr.outputs.pull-request-url && secrets.PAT_TOKEN != ''
if: steps.cpr.outputs.pull-request-url && secrets.OPENHANDS_BOT_GITHUB_PAT_PUBLIC != ''
Comment thread
enyst marked this conversation as resolved.
env:
GH_TOKEN: ${{ secrets.PAT_TOKEN }}
GH_TOKEN: ${{ secrets.OPENHANDS_BOT_GITHUB_PAT_PUBLIC }}
run: |
gh pr review "${{ steps.cpr.outputs.pull-request-url }}" \
--approve \
--body "Auto-approving automated OpenAPI sync PR."

- name: Enable auto-merge (squash)
if: steps.cpr.outputs.pull-request-url && secrets.PAT_TOKEN != ''
if: steps.cpr.outputs.pull-request-url && secrets.OPENHANDS_BOT_GITHUB_PAT_PUBLIC != ''
env:
GH_TOKEN: ${{ secrets.PAT_TOKEN }}
GH_TOKEN: ${{ secrets.OPENHANDS_BOT_GITHUB_PAT_PUBLIC }}
run: |
PR_URL="${{ steps.cpr.outputs.pull-request-url }}"

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/sync-docs-code-blocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,21 +103,21 @@ jobs:
- [x] I have read and reviewed the documentation changes to the best of my ability.
- [x] If the change is significant, I have run the documentation site locally and confirmed it renders as expected.

# Auto-approve using PAT_TOKEN (all-hands-bot). PR is created by
# Auto-approve using OPENHANDS_BOT_GITHUB_PAT_PUBLIC (all-hands-bot). PR is created by
# github-actions[bot], so a different identity (all-hands-bot) can approve it.
- name: Auto-approve PR
if: steps.cpr.outputs.pull-request-url && secrets.PAT_TOKEN != ''
if: steps.cpr.outputs.pull-request-url && secrets.OPENHANDS_BOT_GITHUB_PAT_PUBLIC != ''
env:
GH_TOKEN: ${{ secrets.PAT_TOKEN }}
GH_TOKEN: ${{ secrets.OPENHANDS_BOT_GITHUB_PAT_PUBLIC }}
run: |
gh pr review "${{ steps.cpr.outputs.pull-request-url }}" \
--approve \
--body "Auto-approving automated docs sync PR."

- name: Enable auto-merge (squash)
if: steps.cpr.outputs.pull-request-url && secrets.PAT_TOKEN != ''
if: steps.cpr.outputs.pull-request-url && secrets.OPENHANDS_BOT_GITHUB_PAT_PUBLIC != ''
env:
GH_TOKEN: ${{ secrets.PAT_TOKEN }}
GH_TOKEN: ${{ secrets.OPENHANDS_BOT_GITHUB_PAT_PUBLIC }}
run: |
PR_URL="${{ steps.cpr.outputs.pull-request-url }}"

Expand Down
Loading