Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@theletterf - documentation codeowner #1275

Merged
merged 3 commits into from
Sep 28, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/component_owners.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This file is used by .github/workflows/assign-reviewers.yml

# Each component identified by its path prefix has a list of users
# Please add the entries in alphabetically sorted order
components:
CHANGELOG.md:
- theletterf
docs/:
- theletterf
16 changes: 16 additions & 0 deletions .github/workflows/assign-reviewers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'Assign Reviewers'
Copy link
Member

Choose a reason for hiding this comment

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

Can you test this workflow on a fork (or maybe even here by making some simple change in .md file)?

Take notice that in this repo by default GITHUB_TOKEN has only read permissions for the contents scope.

Copy link
Member

Choose a reason for hiding this comment

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

It was needed #1287

on:
# pull_request_target is suggested for projects where pull requests will be
# made from forked repositories. If pull_request is used in these cases,
# the github token will not have sufficient permission to update the PR.
pull_request_target:

jobs:
assign:
runs-on: ubuntu-latest
name: Assign Reviewers
steps:
- uses: dyladan/component-owners@main
Kielek marked this conversation as resolved.
Show resolved Hide resolved
with:
assign-owners: "false"
request-owner-reviews: "true"