diff --git a/.github/workflows/changie-pr.yml b/.github/workflows/changie-pr.yml index 05c5e91a4f..7b66302f59 100644 --- a/.github/workflows/changie-pr.yml +++ b/.github/workflows/changie-pr.yml @@ -1,82 +1,82 @@ -name: "Changie Version PR" +# name: "Changie Version PR" -on: - push: - branches: - - main +# on: +# push: +# branches: +# - main -permissions: - contents: write - pull-requests: write +# permissions: +# contents: write +# pull-requests: write -jobs: - version-pr: - name: Create/Update Version PR - runs-on: ubuntu-latest +# jobs: +# version-pr: +# name: Create/Update Version PR +# runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 # Important for changelog history +# steps: +# - uses: actions/checkout@v3 +# with: +# fetch-depth: 0 # Important for changelog history - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 20.15.1 +# - name: Setup Node.js +# uses: actions/setup-node@v4 +# with: +# node-version: 20.15.1 - - name: Install dependencies - run: npm ci +# - name: Install dependencies +# run: npm ci - # Validate that changes exist - - name: Check for Changie entries - run: | - if [ -z "$(find .changes/unreleased -name "*.yaml" -o -name "*.yml" 2>/dev/null)" ]; then - echo "Error: No Changie entries found in .changes/unreleased/" - echo "Please run 'npm run changie new' and commit the generated change file" - exit 1 - fi +# # Validate that changes exist +# - name: Check for Changie entries +# run: | +# if [ -z "$(find .changes/unreleased -name "*.yaml" -o -name "*.yml" 2>/dev/null)" ]; then +# echo "Error: No Changie entries found in .changes/unreleased/" +# echo "Please run 'npm run changie new' and commit the generated change file" +# exit 1 +# fi - # Use Changie to batch changes and get the next version - - name: Batch changes - id: batch - uses: miniscruff/changie-action@v2 - with: - args: batch auto +# # Use Changie to batch changes and get the next version +# - name: Batch changes +# id: batch +# uses: miniscruff/changie-action@v2 +# with: +# args: batch auto - # If no changes, stop here - - name: Check for changes - id: check - run: | - if [ -z "$(git status --porcelain)" ]; then - echo "No changes to process" - echo "has_changes=false" >> $GITHUB_OUTPUT - else - echo "has_changes=true" >> $GITHUB_OUTPUT - fi +# # If no changes, stop here +# - name: Check for changes +# id: check +# run: | +# if [ -z "$(git status --porcelain)" ]; then +# echo "No changes to process" +# echo "has_changes=false" >> $GITHUB_OUTPUT +# else +# echo "has_changes=true" >> $GITHUB_OUTPUT +# fi - # If we have changes, merge them and create/update PR - - name: Merge changes - if: steps.check.outputs.has_changes == 'true' - uses: miniscruff/changie-action@v2 - with: - args: merge +# # If we have changes, merge them and create/update PR +# - name: Merge changes +# if: steps.check.outputs.has_changes == 'true' +# uses: miniscruff/changie-action@v2 +# with: +# args: merge - - name: Get latest version - if: steps.check.outputs.has_changes == 'true' - id: latest - uses: miniscruff/changie-action@v2 - with: - args: latest +# - name: Get latest version +# if: steps.check.outputs.has_changes == 'true' +# id: latest +# uses: miniscruff/changie-action@v2 +# with: +# args: latest - - name: Create Pull Request - if: steps.check.outputs.has_changes == 'true' - uses: peter-evans/create-pull-request@v7 - with: - title: "Release ${{ steps.latest.outputs.output }}" - branch: "release/${{ steps.latest.outputs.output }}" - commit-message: "chore: update changelog for ${{ steps.latest.outputs.output }}" - branch-token: ${{ secrets.GITHUB_TOKEN }} - body: | - This PR was automatically created by the Changie workflow. - - Updates CHANGELOG.md - - Bumps version to ${{ steps.latest.outputs.output }} +# - name: Create Pull Request +# if: steps.check.outputs.has_changes == 'true' +# uses: peter-evans/create-pull-request@v7 +# with: +# title: "Release ${{ steps.latest.outputs.output }}" +# branch: "release/${{ steps.latest.outputs.output }}" +# commit-message: "chore: update changelog for ${{ steps.latest.outputs.output }}" +# branch-token: ${{ secrets.GITHUB_TOKEN }} +# body: | +# This PR was automatically created by the Changie workflow. +# - Updates CHANGELOG.md +# - Bumps version to ${{ steps.latest.outputs.output }}