mirror of
https://github.com/prometheus/prometheus
synced 2025-01-11 17:19:45 +00:00
Enforce SECURITY.md updates
Add SECURITY.md to the enforced repo sync updates. Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
parent
e483cff61f
commit
2fd1243b0e
@ -73,10 +73,12 @@ process_repo() {
|
|||||||
fi
|
fi
|
||||||
if [[ -z "${target_file}" ]]; then
|
if [[ -z "${target_file}" ]]; then
|
||||||
echo "${source_file} doesn't exist in ${org_repo}"
|
echo "${source_file} doesn't exist in ${org_repo}"
|
||||||
if [[ "${source_file}" == 'CODE_OF_CONDUCT.md' ]] ; then
|
case "${source_file}" in
|
||||||
echo "CODE_OF_CONDUCT.md missing in ${org_repo}, force updating."
|
CODE_OF_CONDUCT.md | SECURITY.md)
|
||||||
needs_update+=('CODE_OF_CONDUCT.md')
|
echo "${source_file} missing in ${org_repo}, force updating."
|
||||||
fi
|
needs_update+=("${source_file}")
|
||||||
|
;;
|
||||||
|
esac
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
target_checksum="$(echo "${target_file}" | sha256sum | cut -d' ' -f1)"
|
target_checksum="$(echo "${target_file}" | sha256sum | cut -d' ' -f1)"
|
||||||
|
Loading…
Reference in New Issue
Block a user