diff --git a/.github/workflows/conventional-pr-checker.yml b/.github/workflows/conventional-pr-checker.yml new file mode 100644 index 00000000..41730282 --- /dev/null +++ b/.github/workflows/conventional-pr-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 new file mode 100644 index 00000000..11844b7d --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,26 @@ +on: + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + +name: release-please + +jobs: + release-please: + runs-on: ubuntu-latest + # skip releases on forks + if: github.repository == 'kurtosis-tech/kardinal' + steps: + - name: Run Release Please + uses: googleapis/release-please-action@v3 + with: + token: ${{ secrets.RELEASER_TOKEN }} + release-type: simple + package-name: kardinal + bump-minor-pre-major: true + bump-patch-for-minor-pre-major: true + include-v-in-tag: false diff --git a/version.txt b/version.txt new file mode 100644 index 00000000..6c6aa7cb --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ +0.1.0 \ No newline at end of file