diff --git a/.github/workflows/changeset-release.yml b/.github/workflows/changeset-release.yml index b39a68c..fabb62c 100644 --- a/.github/workflows/changeset-release.yml +++ b/.github/workflows/changeset-release.yml @@ -69,7 +69,6 @@ jobs: github.event.pull_request.base.ref == 'main' && github.actor == 'R00-B0T' && contains(github.event.pull_request.title, 'Changeset version bump') - steps: - name: Checkout Repo uses: actions/checkout@v4 @@ -77,15 +76,14 @@ jobs: token: ${{ secrets.CROSS_REPO_ACCESS_TOKEN }} fetch-depth: 0 ref: ${{ env.GIT_REF }} - # Auto-approve PR - name: Auto approve PR uses: hmarr/auto-approve-action@v4 with: review-message: "I'm approving since it's a bump version PR" - - # Enable auto-merge for the PR - - name: Enable automerge on PR - run: gh pr merge --merge --auto ${{ github.event.pull_request.number }} + + # Auto-merge PR + - name: Automerge on PR + run: gh pr merge --merge ${{ github.event.pull_request.number }} env: GH_TOKEN: ${{ secrets.CROSS_REPO_ACCESS_TOKEN }}