Skip to content

Commit 4da6508

Browse files
fix(ci): avoid rate limits on GitHub API by supplying auth token (#3199)
Supply token to protoc install.
1 parent 5755942 commit 4da6508

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
steps:
2323
- name: Install Protoc
2424
uses: arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
25+
with:
26+
repo-token: ${{ secrets.GITHUB_TOKEN }}
2527

2628
- uses: actions/checkout@v3
2729

@@ -92,6 +94,8 @@ jobs:
9294
steps:
9395
- name: Install Protoc
9496
uses: arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
97+
with:
98+
repo-token: ${{ secrets.GITHUB_TOKEN }}
9599

96100
- uses: actions/checkout@v3
97101

@@ -117,6 +121,8 @@ jobs:
117121
steps:
118122
- name: Install Protoc
119123
uses: arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
124+
with:
125+
repo-token: ${{ secrets.GITHUB_TOKEN }}
120126

121127
- uses: actions/checkout@v3
122128

@@ -138,6 +144,8 @@ jobs:
138144
steps:
139145
- name: Install Protoc
140146
uses: arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
147+
with:
148+
repo-token: ${{ secrets.GITHUB_TOKEN }}
141149

142150
- uses: actions/checkout@v3
143151

@@ -164,6 +172,8 @@ jobs:
164172
steps:
165173
- name: Install Protoc
166174
uses: arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
175+
with:
176+
repo-token: ${{ secrets.GITHUB_TOKEN }}
167177

168178
- uses: actions/checkout@v3
169179

@@ -187,6 +197,8 @@ jobs:
187197
steps:
188198
- name: Install Protoc
189199
uses: arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
200+
with:
201+
repo-token: ${{ secrets.GITHUB_TOKEN }}
190202

191203
- uses: actions/checkout@v3
192204

.github/workflows/docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Install Protoc
13-
uses: arduino/setup-protoc@v1
13+
uses: arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
1416
- name: Checkout
1517
uses: actions/checkout@v3
1618
- name: Install nightly toolchain

0 commit comments

Comments
 (0)