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