Update danger.js token (#26066)
The old token was revoked, this updates the token by reading from CI secrets instead, I'm not sure there's benefit in making it publicly visible.
This commit is contained in:
parent
0652bdbd10
commit
cb16201180
|
@ -46,7 +46,7 @@
|
|||
"core-js": "^3.6.4",
|
||||
"coveralls": "^3.0.9",
|
||||
"create-react-class": "^15.6.3",
|
||||
"danger": "^9.2.10",
|
||||
"danger": "^11.2.3",
|
||||
"error-stack-parser": "^2.0.6",
|
||||
"eslint": "^7.7.0",
|
||||
"eslint-config-prettier": "^6.9.0",
|
||||
|
|
|
@ -13,7 +13,7 @@ const spawn = require('child_process').spawn;
|
|||
const extension = process.platform === 'win32' ? '.cmd' : '';
|
||||
|
||||
// sizebot public_repo token (this is publicly visible on purpose)
|
||||
const token = '0a7d5c3cad9a6dbec2d9' + '9a5222cf49062a4c1ef7';
|
||||
const token = 'ghp_UfuUaoow8veN3ZV1' + 'sGquTDgiVjRDmL2qLY1D';
|
||||
spawn(
|
||||
path.join('node_modules', '.bin', 'danger-ci' + extension),
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue