Skip to content

Commit

Permalink
Add HTML as language and possible container scan language
Browse files Browse the repository at this point in the history
The reason we use this list in the first place is to limit the number
of repos we query using both the graphql api and workflow apis.
It is usually expanded with new languages whenever we find repos
that are not already covered for which we want monitoring.
  • Loading branch information
hermanwh committed Jul 30, 2024
1 parent 13615f6 commit db6822f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/no/digipost/github/monitoring/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import java.util.concurrent.atomic.AtomicLong
import kotlin.jvm.optionals.getOrNull
import kotlin.system.measureTimeMillis

val LANGUAGES = setOf("JavaScript", "Java", "TypeScript", "C#", "Kotlin", "Go", "Shell", "Dockerfile")
val POSSIBLE_CONTAINER_SCAN = setOf("JavaScript", "Java", "TypeScript", "Kotlin", "Shell", "Dockerfile")
val LANGUAGES = setOf("JavaScript", "Java", "TypeScript", "C#", "Kotlin", "Go", "Shell", "Dockerfile", "HTML")
val POSSIBLE_CONTAINER_SCAN = setOf("JavaScript", "Java", "TypeScript", "Kotlin", "Shell", "Dockerfile", "HTML")
val GITHUB_SECRET_PATH = Path.of("/secrets/githubtoken.txt")
val SLACK_WEBHOOK_URL_PATH = Path.of("/secrets/slack-webhook-url.txt")
const val GITHUB_OWNER = "digipost"
Expand Down

0 comments on commit db6822f

Please sign in to comment.