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 }}