File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ branches:
17
17
env :
18
18
global :
19
19
- RUST_BACKTRACE=1
20
+ - secure : " OKulfkA5OGd/d1IhvBKzRkHQwMcWjzrzbimo7+5NhkUkWxndAzl+719TB3wWvIh1i2wXXrEXsyZkXM5FtRrHm55v1VKQ5ibjEvFg1w3NIg81iDyoLq186fLqywvxGkOAFPrsePPsBj5USd5xvhwwbrjO6L7/RK6Z8shBwOSc41s="
20
21
21
22
install :
22
23
- |
@@ -94,7 +95,7 @@ matrix:
94
95
script :
95
96
- |
96
97
if [ "$TRAVIS_BRANCH" == "auto" ] || [ "$TRAVIS_BRANCH" == "try" ]; then
97
- output=$(curl -s "https://api.github.com/repos/rust-lang/rust-clippy/pulls/$TRAVIS_PULL_REQUEST" | \
98
+ output=$(curl -H "Authorization: token $GITHUB_API_TOKEN" - s "https://api.github.com/repos/rust-lang/rust-clippy/pulls/$TRAVIS_PULL_REQUEST" | \
98
99
python -c "import sys, json; print(json.load(sys.stdin)['body'])" | \
99
100
grep "changelog: " | \
100
101
sed "s/changelog: //g")
You can’t perform that action at this time.
0 commit comments