Skip to content

feat(ci): codeowners enforcement workflow#13

Merged
erikburt merged 3 commits into
mainfrom
feat/codeowners-enforcement
Aug 26, 2025
Merged

feat(ci): codeowners enforcement workflow#13
erikburt merged 3 commits into
mainfrom
feat/codeowners-enforcement

Conversation

@erikburt

@erikburt erikburt commented Aug 26, 2025

Copy link
Copy Markdown
Collaborator

Adds a CODEOWNERS enforcement workflow.

This workflow:

  1. Checks out repo (at PR branch)
  2. Checks if there's a CODEOWNERS file at .github/CODEOWNERS or in the root of the repository
  3. Attempts to find a PR comment (html comment fingerprint)
  4. If no CODEOWNERS file is found - upsert the comment
  5. If CODEOWNERS file is found:
    • If no previous comment - do nothing
    • If previous comment - edit to a thank you
  6. If no CODEOWNERS found - fail the action

Testing

This PR:


DX-1647

@erikburt erikburt requested a review from chainchad August 26, 2025 17:54
@erikburt erikburt self-assigned this Aug 26, 2025
@erikburt erikburt requested a review from a team as a code owner August 26, 2025 17:54
@github-actions

github-actions Bot commented Aug 26, 2025

Copy link
Copy Markdown

Thank you for adding a CODEOWNERS file - @erikburt.

@smartcontractkit smartcontractkit deleted a comment from github-actions Bot Aug 26, 2025
@erikburt erikburt merged commit b2aba3b into main Aug 26, 2025
9 of 10 checks passed
@erikburt erikburt deleted the feat/codeowners-enforcement branch August 26, 2025 23:12
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.

2 participants