diff --git a/.github/workflows/enterprise-preview.yml b/.github/workflows/enterprise-preview.yml index e31222827b..ac9f81c3b9 100644 --- a/.github/workflows/enterprise-preview.yml +++ b/.github/workflows/enterprise-preview.yml @@ -23,7 +23,7 @@ jobs: - name: Trigger remote job run: | curl --fail-with-body -sS -X POST \ - -H "Authorization: Bearer ${{ secrets.PAT_TOKEN }}" \ + -H "Authorization: Bearer ${{ secrets.ALLHANDS_BOT_GITHUB_PAT }}" \ -H "Accept: application/vnd.github+json" \ -d "{\"ref\": \"main\", \"inputs\": {\"openhandsPrNumber\": \"${{ github.event.pull_request.number }}\", \"deployEnvironment\": \"feature\", \"enterpriseImageTag\": \"pr-${{ github.event.pull_request.number }}\" }}" \ https://api.github.com/repos/OpenHands/deploy/actions/workflows/deploy.yaml/dispatches diff --git a/.github/workflows/ghcr-build.yml b/.github/workflows/ghcr-build.yml index b63e681fe3..68462f75c2 100644 --- a/.github/workflows/ghcr-build.yml +++ b/.github/workflows/ghcr-build.yml @@ -247,7 +247,7 @@ jobs: - name: Trigger remote job run: | curl --fail-with-body -sS -X POST \ - -H "Authorization: Bearer ${{ secrets.PAT_TOKEN }}" \ + -H "Authorization: Bearer ${{ secrets.ALLHANDS_BOT_GITHUB_PAT }}" \ -H "Accept: application/vnd.github+json" \ -d "{\"ref\": \"main\", \"inputs\": {\"openhandsPrNumber\": \"${{ github.event.pull_request.number }}\", \"deployEnvironment\": \"feature\", \"enterpriseImageTag\": \"pr-${{ github.event.pull_request.number }}\" }}" \ https://api.github.com/repos/OpenHands/deploy/actions/workflows/deploy.yaml/dispatches