From f8ef944b8192b5aa1f48fac57df3d33056e55ad6 Mon Sep 17 00:00:00 2001 From: "the-repository-manager[bot]" <74799156+the-repository-manager[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 12:37:11 +0000 Subject: [PATCH] Update templated files --- .github/workflows/security.yml | 13 ++++++ CODE_OF_CONDUCT.md | 79 +++++++++++++++++++++++----------- LICENSE | 2 +- SECURITY.md | 3 ++ 4 files changed, 71 insertions(+), 26 deletions(-) create mode 100644 .github/workflows/security.yml mode change 100755 => 100644 CODE_OF_CONDUCT.md mode change 100755 => 100644 LICENSE create mode 100644 SECURITY.md diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml new file mode 100644 index 000000000..3168ebc9b --- /dev/null +++ b/.github/workflows/security.yml @@ -0,0 +1,13 @@ +name: "Security Scanning" +on: + push: + branches: [main, master] + pull_request: + branches: [main, master] +jobs: + scan: + name: Security Scan + uses: CPS-Innovation/.github/.github/workflows/security-scan.yml@main + permissions: + security-events: write + statuses: write diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md old mode 100755 new mode 100644 index bf4297e28..cdddc2f22 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,47 +1,76 @@ -# Contributor Code of Conduct +# Contributor Covenant Code of Conduct -## Our pledge +## Our Pledge -In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation. +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and expression, +level of experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. -## Our standards +## Our Standards -Examples of behaviour that contributes to creating a positive environment include: +Examples of behavior that contributes to creating a positive environment +include: -- Using welcoming and inclusive language; -- Being respectful of differing viewpoints and experiences; -- Gracefully accepting constructive criticism; -- Focusing on what is best for the community; and, -- Showing empathy towards other community members. +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members -Examples of unacceptable behaviour by participants include: +Examples of unacceptable behavior by participants include: -- The use of sexualised language or imagery and unwelcome sexual attention or advances; -- Trolling, insulting/derogatory comments, and personal or political attacks; -- Public or private harassment; -- Publishing others' private information, such as a physical or electronic address, without explicit permission; and, -- Other conduct which could reasonably be considered inappropriate in a professional setting. +* The use of sexualized language or imagery and unwelcome sexual attention or +advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic +address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a +professional setting -## Our responsibilities +## Our Responsibilities -Project maintainers are responsible for clarifying the standards of acceptable behaviour and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behaviour. +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. -Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not in line with this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviours that they deem inappropriate, threatening, offensive, or harmful. +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. ## Scope -This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. ## Enforcement -Instances of abusive, harassing or otherwise unacceptable behaviour may be reported by contacting the project team at design-system@digital.justice.gov.uk. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality concerning the reporter of an incident. - +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team. All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. -Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. ## Attribution -This Code of Conduct is an adaptation of the [Contributor Covenant](https://www.contributor-covenant.org), version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org -For answers to common questions about this code of conduct, see https://www.contributor-covenant.org/faq \ No newline at end of file +For answers to common questions about this code of conduct, see +https://www.contributor-covenant.org/faq diff --git a/LICENSE b/LICENSE old mode 100755 new mode 100644 index df0c49660..011495c0c --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019 Ministry of Justice +Copyright (c) 2023 Crown Copyright (Crown Prosecution Service) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 000000000..aeab842d7 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,3 @@ +# Security Policy +## Reporting a Vulnerability +Please contact Digital.Security@cps.gov.uk