From 1ab9dd2b24e844cbe9fdbe0d115ede8d8537a56b Mon Sep 17 00:00:00 2001 From: Mike Heffner Date: Mon, 19 Jan 2026 19:25:47 -0500 Subject: [PATCH] Use PAT --- .github/workflows/bump-version.yml | 6 +++--- RELEASING.md | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 5be4f2d..376e7ed 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -87,8 +87,8 @@ jobs: sed -i 's/^version = ".*"/version = "${{ steps.version.outputs.new }}"/' Cargo.toml echo "Updated Cargo.toml to version ${{ steps.version.outputs.new }}" - - name: Run cargo build to update Cargo.lock - run: cargo build + - name: Run cargo check to update Cargo.lock + run: cargo check - name: Commit and push changes run: | @@ -98,7 +98,7 @@ jobs: - name: Create Pull Request env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.PAT_OPEN_PR }} run: | gh pr create \ --title "Release: Bump version to ${{ steps.version.outputs.new }}" \ diff --git a/RELEASING.md b/RELEASING.md index 92dc560..d8ba4eb 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -14,12 +14,13 @@ The release process has been streamlined with automation to reduce manual steps. ### Step 1: Trigger Version Bump Workflow 1. Go to the [Actions tab](../../actions/workflows/bump-version.yml) in GitHub -2. Click "Run workflow" -3. Select the version bump type: +2. Click on "Bump Version". +3. Click "Run workflow" +4. Select the version bump type: - `patch` - Bug fixes (0.0.4 → 0.0.5) - `minor` - New features (0.0.4 → 0.1.0) - `major` - Breaking changes (0.0.4 → 1.0.0) -4. Click "Run workflow" +5. Click "Run workflow" This will: - ✅ Read the current version from `Cargo.toml`