Skip to content

Commit

Permalink
Make it possible to use multiple tokens.
Browse files Browse the repository at this point in the history
This commit is based on the work of @valentinschabschneider and updated to the latest master branch.

deckweiss@9653c35#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80

Fixes piceaTech#104.
  • Loading branch information
pelme committed Jul 5, 2023
1 parent 322ab01 commit aabb16a
Show file tree
Hide file tree
Showing 4 changed files with 134 additions and 87 deletions.
12 changes: 10 additions & 2 deletions sample_settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,17 @@ export default {
// apiUrl: 'https://api.github.mycompany.com',
owner: '{{repository owner (user or organization)}}',
ownerIsOrg: false,
token: '{{token}}',
token_owner: '{{token_owner}}',
repo: '{{repo}}',
tokens: [
{
value: '{{token of first github user}}',
owner: '{{github user 1}}',
},
{
value: '{{token of second github user}}',
owner: '{{github user 2}}',
},
],
recreateRepo: false,
},
s3: {
Expand Down
Loading

0 comments on commit aabb16a

Please sign in to comment.