From 74f28bc52630cd80a38f4da6a2f32f0f6cc6600f Mon Sep 17 00:00:00 2001 From: Rubens Farias Date: Wed, 13 Sep 2023 18:12:46 -0400 Subject: [PATCH 1/2] Update tibdex/github-app-token (#160) And remove dropped input. --- .github/workflows/release.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 222a9ab..c43d395 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,11 +25,10 @@ jobs: steps: - name: Generate token id: generate_token - uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 + uses: tibdex/github-app-token@0914d50df753bbc42180d982a6550f195390069f with: app_id: ${{env.APP_ID}} private_key: ${{ secrets.TOKEN_EXCHANGE_GH_APP_PRIVATE_KEY }} - repository: ${{ github.repository }} permissions: >- {"contents": "write", "pull_requests": "write"} - name: Checkout repository code From 93435dfe1238e4a6ee49f795b394aeb1e5afc1f8 Mon Sep 17 00:00:00 2001 From: "app-token-buf-setup-action[bot]" <117299734+app-token-buf-setup-action[bot]@users.noreply.github.com> Date: Thu, 5 Oct 2023 09:35:42 -0400 Subject: [PATCH 2/2] Release v1.27.0 (#164) Release prepared for 1.27.0 Co-authored-by: doriable --- README.md | 26 +++++++++++++------------- action.yml | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index dfe2bfa..e2059fc 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ steps: # Run `git checkout` - uses: actions/checkout@v2 # Install the `buf` CLI - - uses: bufbuild/buf-setup-action@v1.26.1 + - uses: bufbuild/buf-setup-action@v1.27.0 # Ensure that `buf` is installed - run: buf --version ``` @@ -32,7 +32,7 @@ You can configure `buf-setup-action` with these parameters: | Parameter | Description | Default | |:---------------|:---------------------------------------------------|:-------------------| -| `version` | The version of the [`buf` CLI][buf-cli] to install | [`v1.26.1`][version] | +| `version` | The version of the [`buf` CLI][buf-cli] to install | [`v1.27.0`][version] | | `github_token` | The GitHub token to use when making API requests | | | `buf_user` | The username to use for logging into Buf Schema registry. | | | `buf_api_token` | The API token to use for logging into Buf Schema registry. | | @@ -47,7 +47,7 @@ If `version` is unspecified, the latest version of `buf` is installed: steps: - uses: actions/checkout@v2 # Installs latest - - uses: bufbuild/buf-setup-action@v1.26.1 + - uses: bufbuild/buf-setup-action@v1.27.0 - run: buf --version ``` @@ -56,11 +56,11 @@ Use the `version` parameter to pin to a specific version: ```yaml steps: - uses: actions/checkout@v2 - # Installs version 1.26.1 - - uses: bufbuild/buf-setup-action@v1.26.1 + # Installs version 1.27.0 + - uses: bufbuild/buf-setup-action@v1.27.0 with: - version: 1.26.1 - # Should output 1.26.1 + version: 1.27.0 + # Should output 1.27.0 - run: buf --version ``` @@ -70,7 +70,7 @@ recommended: ```yaml steps: - uses: actions/checkout@v2 - - uses: bufbuild/buf-setup-action@v1.26.1 + - uses: bufbuild/buf-setup-action@v1.27.0 with: version: latest - run: buf --version @@ -83,7 +83,7 @@ This may prevent rate limit issues when running on GitHub hosted runners: ```yaml steps: - - uses: bufbuild/buf-setup-action@v1.26.1 + - uses: bufbuild/buf-setup-action@v1.27.0 with: github_token: ${{ github.token }} ``` @@ -95,7 +95,7 @@ you must still pass the token to the action: ```yaml steps: - - uses: bufbuild/buf-setup-action@v1.26.1 + - uses: bufbuild/buf-setup-action@v1.27.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} ``` @@ -106,7 +106,7 @@ If you are using Private [Remote Packages](https://docs.buf.build/bsr/remote-pac ```yaml steps: - - uses: bufbuild/buf-setup-action@v1.26.1 + - uses: bufbuild/buf-setup-action@v1.27.0 with: buf_user: ${{ secrets.buf_user }} buf_api_token: ${{ secrets.buf_api_token }} @@ -163,7 +163,7 @@ steps: # Run `git checkout` - uses: actions/checkout@v2 # Install the `buf` CLI - - uses: bufbuild/buf-setup-action@v1.26.1 + - uses: bufbuild/buf-setup-action@v1.27.0 # Install `protoc` - uses: arduino/setup-protoc@v1 ``` @@ -179,4 +179,4 @@ steps: [compiler]: https://docs.buf.build/build/internal-compiler [protoc]: https://github.com/protocolbuffers/protobuf#protocol-compiler-installation [setup-protoc]: https://github.com/marketplace/actions/setup-protoc -[version]: https://github.com/bufbuild/buf/releases/tag/v1.26.1 +[version]: https://github.com/bufbuild/buf/releases/tag/v1.27.0 diff --git a/action.yml b/action.yml index d431a83..e381576 100644 --- a/action.yml +++ b/action.yml @@ -8,7 +8,7 @@ inputs: version: description: The version of buf to set up. required: false - default: '1.26.1' + default: '1.27.0' github_token: description: The GitHub token to use when making API requests. required: false