Skip to content

Commit

Permalink
Add Azure Devops as valid CI system
Browse files Browse the repository at this point in the history
Fixes ossf#2661
  • Loading branch information
Petter Kvalvaag committed Feb 14, 2023
1 parent 932d126 commit f646bbc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion checks/evaluation/ci_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func isTest(s string) bool {
for _, pattern := range []string{
"appveyor", "buildkite", "circleci", "e2e", "github-actions", "jenkins",
"mergeable", "packit-as-a-service", "semaphoreci", "test", "travis-ci",
"flutter-dashboard",
"flutter-dashboard", "azure-devops",
} {
if strings.Contains(l, pattern) {
return true
Expand Down
7 changes: 7 additions & 0 deletions checks/evaluation/ci_tests_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ func Test_isTest(t *testing.T) {
},
want: true,
},
{
name: "azure-devops",
args: args{
s: "azure-devops",
},
want: true,
},
{
name: "non-existing",
args: args{
Expand Down

0 comments on commit f646bbc

Please sign in to comment.