Update assign-pr owners
This updates assign-pr owners, to have product owners to be reviewers.
Individual GitHub usernames are added per internal wiki instructions.
Actions are rebuilt per instruction above:
cloudflare-docs $ cd .github/actions/assign-issue
cloudflare-docs/.github/actions/assign-issue $ npm install
cloudflare-docs/.github/actions/assign-issue $ npm run build
cloudflare-docs/.github/actions/assign-issue $ cd ../assign-pr
cloudflare-docs/.github/actions/assign-pr $ npm install
cloudflare-docs/.github/actions/assign-pr $ npm run build
Also, .github/CODEOWNERS.backup is updated to keep it in sync for Analytics and Logs section.
@soheiokamoto I updated the PR description so that we don't disclose internal URLs in PR descriptions.
Thanks @pedrosousa for updating PR description. I have updated the commit message as well.
Removed bharatnc for now, as this user has not joined Cloudflare contributor group yet.
Rebased and regenerated index.js files.
Since @bharatnc is now a contributor and recognized here, added him for both projects. Regenerated index.js. Ready to merge and test.
LGTM! Going ahead and merging this PR.
It seems like now we are all pulled into all PRs: https://github.com/cloudflare/cloudflare-docs/pulls?q=is%3Apr+user-review-requested%3Asoheiokamoto
This is the issue: https://github.com/cloudflare/cloudflare-docs/blob/b603dedb12e2cf71b7df858f190ac5c781902b61/.github/actions/assign-pr/index.ts#L75-L102
Everyone in owners.ts is treated as PCX authors, and whenever one of this PCX owner opens a PR, everyone (up to 10) is assigned.
You're right. The assignment script currently assumes that all GitHub usernames in the OWNERS list are part of the PCX team, and so you're being tagged whenever the (real) PCX team is being tagged. If it's too distracting, we can revert this PR while we try to find a fix.
What do you think of a fix like this? https://github.com/cloudflare/cloudflare-docs/pull/5612 If not, then we should revert this commit.