diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..390ccc4 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,21 @@ +name: Release + +on: + push: + branches: + - github-actions/main + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@v4 + with: + release-type: go + # Required for the release PR to have its own status checks + token: ${{ secrets.RELEASE_PLEASE_GITHUB_TOKEN }} + target-branch: ${{ github.ref_name }}