diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e06486f --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,21 @@ +name: Release Please + +on: + push: + branches: + - github-actions/main + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v4 + with: + release-type: go + package-name: zap-prettyconsole + token: ${{ secrets.RELEASE_PLEASE_GITHUB_TOKEN }} + target-branch: ${{ github.ref_name }}