From 5199e7b142c4c866bcd3edf6be6e10d3334f3e06 Mon Sep 17 00:00:00 2001 From: Tanner Stirrat Date: Fri, 22 Nov 2024 12:37:18 -0700 Subject: [PATCH] Bump action versions, use github token --- .github/workflows/lint.yaml | 4 +++- .github/workflows/release.yaml | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index a6d823d..066825c 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -13,9 +13,11 @@ jobs: name: "Lint & Publish Draft/Branch" runs-on: "ubuntu-latest" steps: - - uses: "actions/checkout@v3" + - uses: "actions/checkout@v4" - uses: "authzed/actions/yaml-lint@main" - uses: "bufbuild/buf-setup-action@v1.47.2" + with: + github_token: "${{ github.token }}" - uses: "bufbuild/buf-lint-action@v1" - uses: "bufbuild/buf-breaking-action@v1" if: "github.event_name == 'pull_request'" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 14179e3..ce840c5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,10 +9,10 @@ jobs: name: "Push BSR tag" runs-on: "ubuntu-latest" steps: - - uses: "actions/checkout@v3" - - uses: "bufbuild/buf-setup-action@v1.32.2" + - uses: "actions/checkout@v4" + - uses: "bufbuild/buf-setup-action@v1.47.2" with: - version: "1.30.0" + github_token: "${{ github.token }}" - name: "push release name to BSR" run: "buf push --tag ${{ github.ref_name }}"