Skip to content

Commit

Permalink
Fix username assertion during GH Action run
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Jun 23, 2022
1 parent 1b2073e commit 0b48faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ test.serial('should skip authentication and collaborator checks when running on

t.is(authStub.callCount, 0);
t.is(collaboratorStub.callCount, 0);
t.is(github.getContext('username'), 'webpro');
t.is(github.getContext('username'), process.env.GITHUB_ACTOR);

authStub.restore();
collaboratorStub.restore();
Expand Down

0 comments on commit 0b48faf

Please sign in to comment.