From 1c1111397e62cc2bfc0a72b00335acee43dd77b2 Mon Sep 17 00:00:00 2001 From: Logan Nguyen Date: Sun, 5 Apr 2026 19:44:10 -0500 Subject: [PATCH] revert: remove sync-cargo-lock job from release-please workflow Removes the sync-cargo-lock job and the pr output added in PRs #43-#52. The release-please action started failing with 'Resource not accessible by integration' and the sync job is the only change to this workflow in that window. Reverting to the original two-job workflow to restore stability. Signed-off-by: Logan Nguyen --- .github/workflows/release-please.yml | 32 ---------------------------- 1 file changed, 32 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index cdfbb3a1..721fb293 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -16,7 +16,6 @@ jobs: outputs: release_created: ${{ steps.release.outputs.release_created }} tag_name: ${{ steps.release.outputs.tag_name }} - pr: ${{ steps.release.outputs.pr }} steps: - uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4.1.3 id: release @@ -24,37 +23,6 @@ jobs: config-file: release-please-config.json manifest-file: .release-please-manifest.json - sync-cargo-lock: - name: Sync Cargo.lock into release PR - needs: release-please - # Runs when release-please opened/updated a PR but has not yet created a release - if: ${{ !needs.release-please.outputs.release_created && needs.release-please.outputs.pr }} - runs-on: ubuntu-latest - steps: - - name: Checkout release PR branch - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - with: - ref: ${{ fromJSON(needs.release-please.outputs.pr).headBranchName }} - - - name: Install stable Rust toolchain - run: rustup toolchain install stable --no-self-update - - - name: Update Cargo.lock for thuki package - working-directory: src-tauri - run: cargo update --package thuki - - - name: Commit Cargo.lock if it changed - run: | - if ! git diff --quiet src-tauri/Cargo.lock; then - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - git add src-tauri/Cargo.lock - git commit -m "chore: sync Cargo.lock to version bump" - git push - else - echo "Cargo.lock already in sync, nothing to commit" - fi - build-and-release: name: Build and publish macOS app needs: release-please