From 2ed6441f3686efb715520afacee292c150c50906 Mon Sep 17 00:00:00 2001 From: Sergei Zharinov Date: Thu, 15 Jan 2026 22:00:13 -0300 Subject: [PATCH] chore: Replace semantic PR app with GitHub Action --- .github/workflows/bump.yml | 1 + .github/workflows/semantic-pr.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .github/workflows/semantic-pr.yml diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 7e50f98..37b8136 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -81,3 +81,4 @@ jobs: gh pr create \ --title "chore: Bump version to \`$next\`" \ --body "Bump ${{ inputs.bump }} version: \`${{ steps.version.outputs.current }}\` → \`$next\`" + gh pr merge --auto --squash diff --git a/.github/workflows/semantic-pr.yml b/.github/workflows/semantic-pr.yml new file mode 100644 index 0000000..6196c08 --- /dev/null +++ b/.github/workflows/semantic-pr.yml @@ -0,0 +1,15 @@ +name: semantic-pr + +on: + pull_request_target: + types: [opened, reopened, edited, synchronize] + +jobs: + semantic: + runs-on: ubuntu-latest + permissions: + pull-requests: read + steps: + - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}