Skip to content

Commit

Permalink
Add Azure Devops as valid CI system (ossf#2662)
Browse files Browse the repository at this point in the history
Fixes ossf#2661

Signed-off-by: Petter Kvalvaag <[email protected]>
Signed-off-by: Shofiya2003 <[email protected]>
  • Loading branch information
Petter Moe Kvalvaag authored and Shofiya2003 committed Mar 10, 2023
1 parent 496ec97 commit c7f4311
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", "Cirrus CI",
"flutter-dashboard", "Cirrus CI", "azure-pipelines",
} {
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-pipelines",
args: args{
s: "azure-pipelines",
},
want: true,
},
{
name: "non-existing",
args: args{
Expand Down

0 comments on commit c7f4311

Please sign in to comment.