Skip to content

Commit

Permalink
Remove token-heavy checks from cron job
Browse files Browse the repository at this point in the history
  • Loading branch information
azeemsgoogle committed Aug 23, 2021
1 parent b7c0d03 commit a2e06ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cron/worker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@ func main() {
}()

checksToRun := checks.AllChecks
// Remove checks which require lot of GitHub API token.
delete(checksToRun, checks.CheckSAST)
delete(checksToRun, checks.CheckCITests)
// TOOD: Re-add Contributors check after fixing: #859.
delete(checksToRun, checks.CheckContributors)
// nolint
// FIXME :- deleting branch-protection
// The branch protection check needs an admin access to the repository.
Expand Down

0 comments on commit a2e06ad

Please sign in to comment.