Skip to content

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

Merged
uniqueg merged 1 commit into
devfrom
docs/org-community-files
Oct 28, 2026
Merged

uniqueg merged 1 commit 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, which also covers images
    and charts).
  • Kept docs/contributing.md: the repository's detailed developer guide,
    rendered by the docs site at /contributing/ and linked from the org
    CONTRIBUTING.md for repository specifics. 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).
  • Pointed the links in README.md and docs/contributing.md to the org
    files.

Closes #325

Verification

  • mkdocs build --strict: passes.
  • No links to the removed files remain (grep).
  • pre-commit runs in CI (the local sandbox cannot fetch hook repositories).
  • CI: all checks pass (CI passed green).

Light lane: the PR only removes files and fixes links and text 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 #325

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

The PR centralises community health policies in the organisation’s .github repository, removes redundant local files, and preserves repository-specific contribution instructions while redirecting all relevant documentation links.

File-Level Changes

Change Details Files
Adopt the organisation-wide community health files by removing repository-local duplicates and updating documentation links.
  • Delete the repository copies of the code of conduct, contributing guide, and security policy.
  • Link the README to the organisation’s contributing and code-of-conduct files.
  • Update the detailed repository contributing guide to reference the organisation’s code-of-conduct and security policy while retaining repository-specific guidance.
CODE_OF_CONDUCT.md
CONTRIBUTING.md
SECURITY.md
README.md
docs/contributing.md

Assessment against linked issues

Issue Objective Addressed Explanation
#325 Remove the repository copies of the code of conduct and security policy so the organisation-wide defaults apply. ✅
#325 Keep a short root CONTRIBUTING.md summary of the organisation's guide that links to the detailed docs/contributing.md guide. ❌ The PR deletes CONTRIBUTING.md rather than replacing it with the requested short summary and link.
#325 Point the README and docs/contributing.md community-policy links to the organisation's 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 (296e8f8) to head (bdd69eb).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #326   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           29        29           
  Lines         2470      2470           
=========================================
  Hits          2470      2470           

☔ 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:23

@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 found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="README.md" line_range="93" />
<code_context>
-[Contributing][docs-contributing] in the documentation, and mind our [code of
-conduct](CODE_OF_CONDUCT.md).
+Contributions are welcome! See [Contributing][docs-contributing] in the
+documentation and the organisation's [contributing guide][contributing], and
+mind our [code of conduct][code-of-conduct].

</code_context>
<issue_to_address>
**GitHub misses the local contributing guide**

When a user opens a pull request or issue and GitHub chooses a repository contributing guide, gitHub looks for `docs/CONTRIBUTING.md`, but the repository keeps the detailed guide at the lowercase path `docs/contributing.md`. After the root guide is removed, GitHub does not select the repository-specific guide as intended and instead shows the organization guide.

Rename the file to `docs/CONTRIBUTING.md` and update the MkDocs nav and links to match.
</issue_to_address>

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: README.md:93


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

Comment thread README.md Resolved
@uniqueg
uniqueg merged commit 3d8ed5d into dev Oct 28, 2026
19 checks passed
@uniqueg
uniqueg deleted the docs/org-community-files branch October 28, 2026 00:13
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