Skip to content

Commit

Permalink
ci: use GitHub token to install protoc (#1996)
Browse files Browse the repository at this point in the history
* ci: use GitHub token to install protoc

* fix: use github.token instead of secrets.GITHUB_TOKEN

Co-authored-by: Piotr Galar <[email protected]>
  • Loading branch information
marten-seemann and galargh authored Jan 12, 2023
1 parent bdbef49 commit b3ab454
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/go-check-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ runs:
uses: trail-of-forks/setup-protoc@a97892a429d98fae78d26f40334ab7eb616d08b9 # include https://github.com/arduino/setup-protoc/pull/58
with:
version: '21.12'
repo-token: ${{ github.token }}
- name: Install Protobuf compiler
shell: bash
run: go install google.golang.org/protobuf/cmd/protoc-gen-go

0 comments on commit b3ab454

Please sign in to comment.