diff --git a/.github/workflows/release.lock.yml b/.github/workflows/release.lock.yml index 5b807cc584..572481dfed 100644 --- a/.github/workflows/release.lock.yml +++ b/.github/workflows/release.lock.yml @@ -21,7 +21,7 @@ # # Build, test, and release gh-aw extension, then generate and prepend release highlights # -# frontmatter-hash: 62a5857122b3a2ff00cac78bc5db9fd961177658cbee4eba8187769c0fd15b7b +# frontmatter-hash: a196c2dde64e55df900998075dbc57211973d35293e684bac5283763b5a6848d name: "Release" "on": @@ -753,55 +753,6 @@ jobs: /tmp/gh-aw/agent-stdio.log if-no-files-found: ignore - changesets: - needs: - - activation - - agent - - config - - release - runs-on: ubuntu-latest - permissions: - contents: write - - steps: - - name: Checkout repository - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 - with: - fetch-depth: 0 - persist-credentials: true - - name: Setup Node.js - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6 - with: - node-version: "20" - - name: Update CHANGELOG with changesets - run: | - set -e - echo "Updating CHANGELOG.md for release: $RELEASE_TAG" - - # Configure git - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - - # Run changeset script to update CHANGELOG.md and delete changeset files - # Pass the release tag as an argument - node scripts/changeset.js release "$RELEASE_TAG" --yes - - # Check if there are any changes to commit - if git diff --quiet CHANGELOG.md && [ -z "$(git ls-files --others --exclude-standard .changeset/)" ]; then - echo "No changeset updates to commit" - else - # Add and commit changes - git add CHANGELOG.md .changeset/ - git commit -m "Update CHANGELOG.md for $RELEASE_TAG" - - # Push changes to main branch - git push origin main - - echo "✓ CHANGELOG.md updated and committed to main" - fi - env: - RELEASE_TAG: ${{ needs.config.outputs.release_tag }} - conclusion: needs: - activation diff --git a/.github/workflows/release.md b/.github/workflows/release.md index 8edfabfc42..d3f123631e 100644 --- a/.github/workflows/release.md +++ b/.github/workflows/release.md @@ -302,52 +302,6 @@ jobs: sbom: true provenance: mode=max - changesets: - needs: ["activation", "config", "release", "agent"] - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - name: Checkout repository - uses: actions/checkout@v6 - with: - fetch-depth: 0 - persist-credentials: true - - - name: Setup Node.js - uses: actions/setup-node@v6 - with: - node-version: '20' - - - name: Update CHANGELOG with changesets - env: - RELEASE_TAG: ${{ needs.config.outputs.release_tag }} - run: | - set -e - echo "Updating CHANGELOG.md for release: $RELEASE_TAG" - - # Configure git - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - - # Run changeset script to update CHANGELOG.md and delete changeset files - # Pass the release tag as an argument - node scripts/changeset.js release "$RELEASE_TAG" --yes - - # Check if there are any changes to commit - if git diff --quiet CHANGELOG.md && [ -z "$(git ls-files --others --exclude-standard .changeset/)" ]; then - echo "No changeset updates to commit" - else - # Add and commit changes - git add CHANGELOG.md .changeset/ - git commit -m "Update CHANGELOG.md for $RELEASE_TAG" - - # Push changes to main branch - git push origin main - - echo "✓ CHANGELOG.md updated and committed to main" - fi - steps: - name: Setup environment and fetch release data env: