Skip to content

Commit

Permalink
Update danger.js token (#26066)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kassens committed Jan 27, 2023
1 parent 0652bdb commit cb16201
Show file tree
Hide file tree
Showing 3 changed files with 387 additions and 264 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion scripts/tasks/danger.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
[
Expand Down
Loading

0 comments on commit cb16201

Please sign in to comment.