diff --git a/.github/workflows/conventional-pr-title-checker.yml b/.github/workflows/conventional-pr-title-checker.yml new file mode 100644 index 00000000..41730282 --- /dev/null +++ b/.github/workflows/conventional-pr-title-checker.yml @@ -0,0 +1,22 @@ +# Check PR title for conventional commits +name: Check PR title +on: + pull_request_target: + types: + - opened + - reopened + - edited + - synchronize + +# cancel redundant builds +concurrency: + group: "title-checker-${{ github.head_ref }}" + cancel-in-progress: true + +jobs: + title_check: + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index d3027d60..17eac39a 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -1,15 +1,18 @@ on: push: - branches: [main] + branches: + - master + +permissions: + contents: write + pull-requests: write name: release-please + jobs: release-please: - name: "Release please" runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v3 + - uses: googleapis/release-please-action@v4 with: release-type: simple - package-name: kurtosis - include-v-in-tag: false