Skip to content

Releases: OSS-Docs-Tools/code-owner-self-merge

Handle more error states

08 Jan 09:57
Compare
Choose a tag to compare
  • Doesn't merge on red PRs
  • Gives better error states by commenting anytime it bails

Labels Bug Fix

30 Aug 11:00
Compare
Choose a tag to compare
1.4.1

Fixes the check for which users have access to merge a PR

Labels

28 Aug 14:41
Compare
Choose a tag to compare

Use [label] to have the bot add these labels to your PR:

# Collaborators for Spanish Translation of the Website
packages/playground-examples/copy/es/**/*.md @KingDarBoja [translate] [es]
packages/playground-examples/copy/es/**/*.ts @KingDarBoja [translate] [es]
packages/tsconfig-reference/copy/es/**/*.md @KingDarBoja [translate] [es]
packages/typescriptlang-org/src/copy/es/**/*.ts @KingDarBoja [translate] [es]
packages/documentation/copy/es/**/*.ts @KingDarBoja [translate] [es]

Polish

15 Aug 17:00
Compare
Choose a tag to compare
1.3.1

it Merge branch 'master' of https://github.com/orta/code-organizer-me…

It works release

14 Aug 12:35
Compare
Choose a tag to compare

Should be pretty solid now

v1.2.1

14 Aug 12:08
Compare
Choose a tag to compare

Better logging

14 Aug 11:25
Compare
Choose a tag to compare
v1.2.0

More logs

v1.1

13 Aug 22:24
Compare
Choose a tag to compare

Same as before, but now accepts reviews to trigger the OK.

V1

13 Aug 17:25
Compare
Choose a tag to compare

A GitHub action that lets code-owners merge PRs via a comment.

This action uses the standardized structure of a CODEOWNERS file to handle the access controls.

A simple example

So, with this file at: .github/CODEOWNERS:

README.md @orta

If a PR contained only a change to the README.md - this action would say that "@orta has the ability to merge by commenting 'LGTM'".

Then, when/if this happens the GitHub Action will merge for you.

A real-world example

.github/CODEOWNERS:

# Collaborators for Japanese Translation of the Website
packages/playground-examples/copy/ja/** @sasurau4 @Quramy @Naturalclar @Takepepe @orta
packages/tsconfig-reference/copy/ja/** @sasurau4 @Quramy @Naturalclar @Takepepe @orta
packages/typescriptlang-org/src/copy/ja/** @sasurau4 @Quramy @Naturalclar @Takepepe @orta
packages/documentation/copy/ja/** @sasurau4 @Quramy @Naturalclar @Takepepe @orta

This allows any of @sasurau4, @Quramy, @Naturalclar, @Takepepe or @orta to merge PRs which affect their areas of the translation process in the TypeScript Website repo.