docker-attest-build-provenance/CODEOWNERS
Line: 1: incorrect codeowner user: commit Line: 1: incorrect codeowner user: does Line: 1: incorrect codeowner user: not Line: 1: incorrect codeowner user: belong Line: 1: incorrect codeowner user: to Line: 1: incorrect codeowner user: any Line: 1: incorrect codeowner user: branch Line: 1: incorrect codeowner user: on Line: 1: incorrect codeowner user: this Line: 1: incorrect codeowner user: repository, Line: 1: incorrect codeowner user: and Line: 1: incorrect codeowner user: may Line: 1: incorrect codeowner user: belong Line: 1: incorrect codeowner user: to Line: 1: incorrect codeowner user: a Line: 1: incorrect codeowner user: fork Line: 1: incorrect codeowner user: outside Line: 1: incorrect codeowner user: of Line: 1: incorrect codeowner user: the Line: 1: incorrect codeowner user: repository." Line: 1: no users/groups matched Line: 2: incorrect codeowner user: log Line: 2: no users/groups matched Line: 4: incorrect codeowner user: [AUTOTITLE] Line: 4: no users/groups matched Line: 5: incorrect codeowner user: secrets Line: 5: incorrect codeowner user: = Line: 5: incorrect codeowner user: { Line: 5: no users/groups matched Line: 6: incorrect codeowner user: `${{ Line: 6: incorrect codeowner user: secrets.OPENSHIFT_SERVER Line: 6: incorrect codeowner user: }}`, Line: 6: no users/groups matched Line: 7: incorrect codeowner user: `${{ Line: 7: incorrect codeowner user: secrets.OPENSHIFT_TOKEN Line: 7: incorrect codeowner user: }}`, Line: 7: no users/groups matched Line: 8: incorrect format Line: 10: incorrect codeowner user: GHCR Line: 10: incorrect codeowner user: = Line: 10: incorrect codeowner user: "ghcr.io"; Line: 10: no users/groups matched Line: 11: incorrect codeowner user: (`${{ Line: 11: incorrect codeowner user: env.IMAGE_REGISTRY Line: 11: incorrect codeowner user: }}`.startsWith(GHCR)) Line: 11: incorrect codeowner user: { Line: 11: no users/groups matched Line: 12: incorrect codeowner regexp: error parsing regexp: missing closing ): `^core.info(`Image$` Line: 13: incorrect format Line: 14: incorrect codeowner user: { Line: 14: no users/groups matched Line: 15: incorrect codeowner regexp: error parsing regexp: missing closing ): `^core.info("A$` Line: 16: incorrect codeowner user: = Line: 16: incorrect codeowner user: `${{ Line: 16: incorrect codeowner user: secrets.IMAGE_REGISTRY_PASSWORD Line: 16: incorrect codeowner user: }}`; Line: 16: no users/groups matched Line: 17: incorrect format Line: 19: incorrect codeowner user: missingSecrets Line: 19: incorrect codeowner user: = Line: 19: incorrect codeowner user: Object.entries(secrets).filter(([ Line: 19: incorrect codeowner user: name, Line: 19: incorrect codeowner user: value Line: 19: incorrect codeowner user: ]) Line: 19: incorrect codeowner user: => Line: 19: incorrect codeowner user: { Line: 19: no users/groups matched Line: 20: incorrect codeowner user: (value.length Line: 20: incorrect codeowner user: === Line: 20: incorrect codeowner user: 0) Line: 20: incorrect codeowner user: { Line: 20: no users/groups matched Line: 21: incorrect codeowner regexp: error parsing regexp: missing closing ): `^core.error(`Secret$` Line: 22: incorrect codeowner user: true; Line: 22: no users/groups matched Line: 23: incorrect format Line: 24: incorrect codeowner regexp: error parsing regexp: missing closing ): `^core.info(✔🙊$` Line: 25: incorrect codeowner user: false; Line: 25: no users/groups matched Line: 26: incorrect format Line: 28: incorrect codeowner user: (missingSecrets.length Line: 28: incorrect codeowner user: > Line: 28: incorrect codeowner user: 0) Line: 28: incorrect codeowner user: { Line: 28: no users/groups matched Line: 29: incorrect codeowner regexp: error parsing regexp: missing closing ): `^core.setFailed(`🤬$` Line: 30: incorrect codeowner user: can Line: 30: incorrect codeowner user: add Line: 30: incorrect codeowner user: it Line: 30: incorrect codeowner user: using:n" Line: 30: incorrect codeowner user: + Line: 30: no users/groups matched Line: 31: incorrect codeowner user: UI: Line: 31: incorrect codeowner group: https://docs.github.com/en/actions/reference/encrypted-secrets Line: 31: no users/groups matched Line: 32: incorrect codeowner user: CLI: Line: 32: incorrect codeowner group: https://cli.github.com/manual/gh_secret_set Line: 32: incorrect codeowner user: n" Line: 32: incorrect codeowner user: + Line: 32: no users/groups matched Line: 33: incorrect codeowner user: refer Line: 33: incorrect codeowner user: to Line: 33: incorrect codeowner group: https://github Line: 33: no users/groups matched Line: 34: no users/groups matched Line: 35: incorrect format Line: 36: incorrect format Line: 37: incorrect format
2025-03-23 13:41:50 +07:00

38 lines
1.5 KiB
Plaintext

"This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository."
Security log# Repository CODEOWNERS
script:tapon [AUTOTITLE]
const secrets = {
OPENSHIFT_SERVER: `${{ secrets.OPENSHIFT_SERVER }}`,
OPENSHIFT_TOKEN: `${{ secrets.OPENSHIFT_TOKEN }}`,
};
const GHCR = "ghcr.io";
if (`${{ env.IMAGE_REGISTRY }}`.startsWith(GHCR)) {
core.info(`Image registry is ${GHCR} - no registry password required`);
}
else {
core.info("A registry password is required");
secrets["IMAGE_REGISTRY_PASSWORD"] = `${{ secrets.IMAGE_REGISTRY_PASSWORD }}`;
}
const missingSecrets = Object.entries(secrets).filter(([ name, value ]) => {
if (value.length === 0) {
core.error(`Secret "${name}" is not set`);
return true;
}
core.info(✔🙊 t "${name}" is set`);
return false;
});
if (missingSecrets.length > 0) {
core.setFailed(`🤬 At least one required secret is not set in the repository. \n` +
"You can add it using:\n" +
"GitHub UI: https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository \n" +
"GitHub CLI: https://cli.github.com/manual/gh_secret_set \n" +
"Also, refer to https://github
* @actions/package-security
<p>
</
[[[fttps-----aa<<dob4yc.ccco]]]