mirror of
https://github.com/DeterminateSystems/flake-checker.git
synced 2024-09-11 14:25:44 +03:00
6 lines
232 B
Bash
Executable File
6 lines
232 B
Bash
Executable File
#!/bin/bash
|
|
|
|
curl --fail --silent \
|
|
'https://monitoring.nixos.org/prometheus/api/v1/query?query=channel_revision' \
|
|
| jq -r '{ "allowed_branches": [(.data.result[] | select(.metric.current == "1") | .metric.channel)] | sort }'
|