diff --git a/.github/workflows/pull-request-title.yml b/.github/workflows/pull-request-title.yml new file mode 100644 index 0000000..901d76a --- /dev/null +++ b/.github/workflows/pull-request-title.yml @@ -0,0 +1,30 @@ +name: Pull Request + +on: + merge_group: + pull_request_target: + types: + - opened + - reopened + - edited + - synchronize + +permissions: + pull-requests: read + +jobs: + conventional-title: + name: Validate PR title is Conventional Commit + runs-on: ubuntu-latest + steps: + - name: Check title + if: github.event_name == 'pull_request_target' + uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + types: | + fix + feat + chore + \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..0e24c81 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,21 @@ +name: Release + +on: + push: + branches: + - main + +jobs: + release-please: + name: Create Release + outputs: + release-pr: ${{ steps.release.outputs.pr }} + tag-name: ${{ steps.release.outputs.tag_name }} + runs-on: ubuntu-latest + steps: + - name: Run release-please + id: release + uses: google-github-actions/release-please-action@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} + command: manifest diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..b881a39 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1 @@ +{".":"0.1.0"} diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..77723e5 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,24 @@ +# Changelog + +## 0.1.0 (2024-12-04) + + +### ⚠ BREAKING CHANGES + +* update to support Noir 0.37.0 ([#9](https://github.com/noir-lang/noir-edwards/issues/9)) +* update to support Noir 0.36.0 ([#7](https://github.com/noir-lang/noir-edwards/issues/7)) + +### Features + +* Update to support Noir 0.36.0 ([#7](https://github.com/noir-lang/noir-edwards/issues/7)) ([3188ea7](https://github.com/noir-lang/noir-edwards/commit/3188ea74fe3b059219a2ea87899589c266256d74)) + + +### Bug Fixes + +* Update to support Noir 0.37.0 ([#9](https://github.com/noir-lang/noir-edwards/issues/9)) ([a8156aa](https://github.com/noir-lang/noir-edwards/commit/a8156aac31f46de85b2d5f69ac71050b58daf9dc)) +* Use `ec` library instead of standard library ([#13](https://github.com/noir-lang/noir-edwards/issues/13)) ([af7daa8](https://github.com/noir-lang/noir-edwards/commit/af7daa8f5f942435e405f69f7c11182a350f65b7)) + + +### Miscellaneous Chores + +* Add release-please ([#16](https://github.com/noir-lang/noir-edwards/issues/16)) ([8f17cdf](https://github.com/noir-lang/noir-edwards/commit/8f17cdfdcade8a4fd3ae54450517a57ba3313f61)) diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..e33ce20 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,16 @@ +{ + "release-type": "simple", + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": true, + "pull-request-title-pattern": "chore: Release ${version}", + "group-pull-request-title-pattern": "chore: Release ${version}", + "packages": { + ".": { + "release-type": "simple", + "include-component-in-tag": false + } + }, + "plugins": [ + "sentence-case" + ] +}