From 45f6d0b0bb3c3303ec59557f8fe303d0d98b2146 Mon Sep 17 00:00:00 2001 From: Craig Roy Date: Thu, 25 Jan 2024 10:48:09 +0000 Subject: [PATCH] chore: Add release-please workflow (#138) Add release action. This should check commits to main for the string "release-as: X.X.X" and open a PR for the release, creating a changelog from our conventional commits. When this is merged, it will add a git tag and github release pointing to the merged release PR. I've made it also check the branch `release-testing` so that we can check if it works! After testing, I'll open a PR to get rid of this line --- .github/workflows/release-please.yml | 21 +++++++++++++++++++++ CHANGELOG.md | 0 2 files changed, 21 insertions(+) create mode 100644 .github/workflows/release-please.yml create mode 100644 CHANGELOG.md diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 00000000..1609763e --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,21 @@ +on: + push: + branches: + - main + - release-testing + +permissions: + contents: write + pull-requests: write + +name: release-please + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + # Should update changelog, tag commit, and create a github release + release-type: simple diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..e69de29b