Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

fix(workflows): explicitly specify owner and repo for App token (#767)

Francesco Bonacci76cd66ce91c2
diff --git a/.github/workflows/release-bump-version.yml b/.github/workflows/release-bump-version.yml
index ff94d441b6..5ccaddb551 100644
--- a/.github/workflows/release-bump-version.yml
+++ b/.github/workflows/release-bump-version.yml
@@ -312,6 +312,8 @@ jobs:
with:
app-id: ${{ secrets.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
+ owner: ${{ github.repository_owner }}
+ repositories: ${{ github.event.repository.name }}
- name: Push release to main
env:
@@ -320,6 +322,10 @@ jobs:
# Configure git to use the app token for pushing
git remote set-url origin "https://x-access-token:${GH_TOKEN}@github.com/${{ github.repository }}.git"
+ # Verify the token works
+ echo "Verifying GitHub App token..."
+ gh auth status
+
TAG=$(git describe --tags --abbrev=0)
echo "Pushing version bump to main with tag: $TAG"
git push origin HEAD:main --follow-tags