diff --git a/test/services/github_actions.test.js b/test/services/github_actions.test.js index 672438bc..73c886ef 100644 --- a/test/services/github_actions.test.js +++ b/test/services/github_actions.test.js @@ -7,6 +7,7 @@ describe('GitHub Actions CI Provider', function() { }) it('can get GitHub Actions env info on push event', function() { + delete process.env.GITHUB_HEAD_REF process.env.GITHUB_REF = 'refs/heads/master' process.env.GITHUB_REPOSITORY = 'codecov/codecov-repo' process.env.GITHUB_RUN_ID = '257701960'