Skip to content

Commit

Permalink
Merge pull request #442 from snyk-tech-services/chore/drop-gh-token
Browse files Browse the repository at this point in the history
chore: drop usage of gh_token
  • Loading branch information
lili2311 authored Apr 12, 2023
2 parents 819e0dc + 8be4ff4 commit 21b7a64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/system/orgs:data/generic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('General `snyk-api-import orgs:data <...>`', () => {
{
env: {
PATH: process.env.PATH,
GITHUB_TOKEN: process.env.GH_TOKEN,
GITHUB_TOKEN: process.env.GITHUB_TOKEN,
SNYK_LOG_PATH: __dirname,
},
},
Expand Down
4 changes: 2 additions & 2 deletions test/system/orgs:data/github.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('General `snyk-api-import orgs:data <...>`', () => {
{
env: {
PATH: process.env.PATH,
GITHUB_TOKEN: process.env.GH_TOKEN,
GITHUB_TOKEN: process.env.GITHUB_TOKEN,
SNYK_LOG_PATH: __dirname,
},
},
Expand All @@ -26,7 +26,7 @@ describe('General `snyk-api-import orgs:data <...>`', () => {
expect(stderr).toEqual('');
expect(err).toBeNull();
expect(stdout).toMatch(
'Found 4 organization(s). Written the data to file: group-hello-github.aaakk.us.kg-orgs.json',
'Found 2 organization(s). Written the data to file: group-hello-github.aaakk.us.kg-orgs.json',
);
deleteFiles([
path.resolve(__dirname, `group-${groupId}-github.aaakk.us.kg-orgs.json`),
Expand Down

0 comments on commit 21b7a64

Please sign in to comment.