From a12c3d82fc420dc378c8a5d9849d8a6e859b328d Mon Sep 17 00:00:00 2001 From: James Littlejohn Date: Wed, 21 Aug 2024 17:54:31 +1000 Subject: [PATCH] ci: Add basic GitHub actions configuration for release --- .github/workflows/release.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/release.yml 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 }}