From da7f2a64eec298bca5a5ecb353bb5360fef8091c Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Thu, 16 Jan 2025 13:01:37 -0700 Subject: [PATCH 1/2] chore: update invalid fields --- .github/workflows/release-please.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 52487cb00..ead070dac 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -20,5 +20,3 @@ jobs: token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }} skip-github-release: true path: . - version-file: version.txt - depth: 20 From e8ee2ccac1b5a9eead3b2a485d1097bd3ecf89b8 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Thu, 16 Jan 2025 13:10:58 -0700 Subject: [PATCH 2/2] fix: release please update --- .github/workflows/release-please.yml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index ead070dac..b9b8a8f86 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -1,22 +1,24 @@ -name: Release - on: push: branches: - main +permissions: + contents: write + pull-requests: write + +name: release-please + jobs: - release: + release-please: runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Run Release Please - uses: googleapis/release-please-action@v4 + - uses: googleapis/release-please-action@v4 with: - release-type: simple + # this assumes that you have created a personal access token + # (PAT) and configured it as a GitHub action secret named + # `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important). token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }} - skip-github-release: true - path: . + # this is a built-in strategy in release-please, see "Action Inputs" + # for more options + release-type: simple \ No newline at end of file