{{ $publicHandbookRef := getenv "PUBLIC_HANDBOOK_REF" | default "master" }} {{ $dataURL := printf "https://gitlab.com/gitlab-com/www-gitlab-com/-/raw/%s/data/product_priorities/software_supply_chain_security_wg.yml" $publicHandbookRef}} {{ with resources.GetRemote $dataURL }} {{ with .Err}}

Unable to fetch priority Data

{{ else }} {{ $data := . | transform.Unmarshal }} {{ with $data.priorities }} {{ $filteredPriorities := where . "status" "!=" "closed" }} {{ range $priorityIndex, $priority := $filteredPriorities }} {{ end }} {{ end }}
Priority Name DRI Target release
{{ add $priorityIndex 1 }} {{ .name }} {{ with .dri }}{{.}}{{ else }}TBD{{ end }} {{ with .target_release }}{{.}}{{ else }}TBD{{ end }}
{{ end }} {{ end }}