community icon indicating copy to clipboard operation
community copied to clipboard

Need an org-scoped access token for docs automation

Open austinlparker opened this issue 5 years ago • 3 comments

We're implementing a solution for allowing authoritative website docs to live in each SIG repository, but the automation will need a PAT or other token that can create PR's in the website repository. You can see the issue in this PR: https://github.com/open-telemetry/opentelemetry-java/pull/3080

austinlparker avatar Mar 31 '21 00:03 austinlparker

Here we discussed that PAT from one of SIG members may be used: https://github.com/open-telemetry/community/issues/551 Or SIG-specific bot account created. SIG members are in the best position to maintain this.

If you have a better idea in mind on how to manage this - please comment.

SergeyKanzhelev avatar Apr 02 '21 20:04 SergeyKanzhelev

Hi @SergeyKanzhelev - to give more context, this is about the shared docs repo at https://github.com/open-telemetry/opentelemetry.io and not quite a SIG-specific request. Each SIG will host their language's documentation in their repo, but we will have automation to push the code changes into that shared repo for deployment to opentelemetry.io. So we need a token with push access to the shared repo - I don't think we should expect SIGs to have to maintain this. As it stands, for example, Java maintainers do not have write access to that repo, so there's not really anything we can do to make the automation work.

I'd recommend as this is an open-telemetry shared process / account, there be an organization secret with a TC member PAT in it (I guess TC members would have write access to all the repos including opentelemetry.io) and expose that to language repos for use in this workflow. Does it make sense?

anuraaga avatar Apr 06 '21 01:04 anuraaga

I understand the context, but wouldn't any website's SIG member token work for the purpose of merging to website repository? Or create a PR so it may be manually approved.

I'm advocating for less dependencies and more independence.

SergeyKanzhelev avatar Apr 09 '21 20:04 SergeyKanzhelev

@austinlparker do you still have this need?

trask avatar Nov 29 '22 05:11 trask