Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
refactor(workflows): push version bumps directly to main (#765)
Francesco Bonacci0ea90bff896a
diff --git a/.github/workflows/release-bump-version.yml b/.github/workflows/release-bump-version.ymlindex 3b5bdf882c..6e18f775ab 100644--- a/.github/workflows/release-bump-version.yml+++ b/.github/workflows/release-bump-version.yml@@ -39,7 +39,6 @@ permissions:contents: writeid-token: writepackages: write- pull-requests: writejobs:bump-version:@@ -307,40 +306,13 @@ jobs:echo "lume version: $VERSION"echo "version=$VERSION" >> "$GITHUB_OUTPUT"- - name: Create release branch and PR+ - name: Push release to mainenv:- GH_TOKEN: ${{ secrets.PR_TOKEN }}+ GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}run: |- # Get the tag that was created by bump2versionTAG=$(git describe --tags --abbrev=0)- BRANCH_NAME="release/${TAG}"-- # Clean up any existing release branch from previous failed runs- git push origin --delete "$BRANCH_NAME" 2>/dev/null || true-- # Close any existing PR for this branch- EXISTING_PR=$(gh pr list --head "$BRANCH_NAME" --json number --jq '.[0].number' 2>/dev/null || true)- if [ -n "$EXISTING_PR" ]; then- echo "Closing existing PR #$EXISTING_PR"- gh pr close "$EXISTING_PR" --delete-branch 2>/dev/null || true- fi-- # Create and push the release branch- git checkout -b "$BRANCH_NAME"- git push origin "$BRANCH_NAME" --follow-tags-- # Create PR and enable auto-merge- PR_URL=$(gh pr create \- --title "chore: bump version to ${TAG}" \- --body "Automated version bump to ${TAG}" \- --base main \- --head "$BRANCH_NAME")-- echo "Created PR: $PR_URL"-- # Enable auto-merge (will merge once requirements are met)- # This may fail if auto-merge is not enabled for the repository- gh pr merge "$PR_URL" --auto --squash || echo "Auto-merge not available, PR will need manual merge"+ echo "Pushing version bump to main with tag: $TAG"+ git push origin HEAD:main --follow-tagspublish-computer:needs: [bump-version, publish-core]