Skip to content

docs: use the org-wide community files - #544

Merged
uniqueg merged 2 commits into
devfrom
docs/org-community-files
Oct 28, 2026
Merged

uniqueg merged 2 commits into
devfrom
docs/org-community-files

Conversation

@uniqueg

@uniqueg uniqueg commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Summary

Use the organisation's default community health files from
elixir-cloud-aai/.github
instead of repository copies.

  • Removed CODE_OF_CONDUCT.md (same text as the org default),
    CONTRIBUTING.md (a summary of the org guide plus a link to the docs) and
    SECURITY.md (same policy as the org default; the org policy covers
    packages, images and charts as well).
  • Kept docs/contributing.md: it is FOCA's detailed developer guide, which
    the docs site renders at /contributing/ and which the org
    CONTRIBUTING.md, the release workflow, scripts and tests refer to. It is not meant to shadow the org default (the org guide links to
    the repository docs for repository specifics); whether GitHub's
    community-health lookup also picks up the lowercase
    docs/contributing.md is not verified (Sourcery says it doesn't). Renaming it (e.g. to
    docs/contributing/index.md, same URL) would change the path that the
    release workflow, scripts and tests refer to, so it can follow separately
    if wanted.
  • Pointed the links in README.md and docs/contributing.md to the org
    files.

Closes #542

Verification

  • mkdocs build --strict: passes.
  • grep for CODE_OF_CONDUCT, CONTRIBUTING and SECURITY.md: no links
    to the removed files remain.
  • pre-commit could not run locally (the sandbox proxy blocks fetching the
    hook repositories); CI runs it.
  • CI: all checks pass (CI passed green).

Light lane: the PR only removes files and fixes links in docs, so it skips
the reviewer subagents; I reviewed the diff myself.

Declined review findings

None

Open questions

None

🤖 Generated with Claude Code

Remove CODE_OF_CONDUCT.md, CONTRIBUTING.md and SECURITY.md, so that
GitHub uses the defaults of elixir-cloud-aai/.github, and point the
links in the README and the contributing docs to them. The detailed
guide stays in docs/contributing.md.

Closes #542

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This documentation-only change centralises community policies on the organisation-wide defaults while retaining FOCA's repository-specific docs/contributing.md guide. Review the deleted-file references and verify that all updated links resolve correctly, particularly the distinction between the organisation guide and the repository-specific developer documentation.

File-Level Changes

Change Details Files
Replaced repository-local community health files with links to the organisation-wide defaults.
  • Removed the duplicated code of conduct, contributing, and security policy files.
  • Updated README contribution links to the organisation's .github repository.
  • Updated the detailed developer guide's code-of-conduct and security links to the organisation defaults.
CODE_OF_CONDUCT.md
CONTRIBUTING.md
SECURITY.md
README.md
docs/contributing.md

Assessment against linked issues

Issue Objective Addressed Explanation
#542 Remove the repository-specific code of conduct and security policy so the organization-wide versions apply. ✅
#542 Provide a short CONTRIBUTING.md summary with a link to the detailed guide, while keeping docs/contributing.md. ❌ The PR deletes the root CONTRIBUTING.md rather than providing the requested short summary. It keeps docs/contributing.md, which the PR notes GitHub will use as the repository's contributing guide.
#542 Point the README and docs/contributing.md links to the organization-wide community files. ✅

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@codecov

codecov Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (5de21a6) to head (76b6994).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #544   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           55        55           
  Lines         6667      6667           
=========================================
  Hits          6667      6667           
Flag Coverage Δ
test_unit 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@uniqueg
uniqueg marked this pull request as ready for review October 27, 2026 15:22

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@uniqueg
uniqueg merged commit 9670cee into dev Oct 28, 2026
31 checks passed
@uniqueg
uniqueg deleted the docs/org-community-files branch October 28, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: use the org-wide community files

1 participant