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

Use docs-bot token for styling #201

Open
jashapiro opened this issue Aug 1, 2023 · 0 comments
Open

Use docs-bot token for styling #201

jashapiro opened this issue Aug 1, 2023 · 0 comments

Comments

@jashapiro
Copy link
Member

We have a couple of automated styling & docs actions implemented in https://github.com/AlexsLemonade/scpcaTools/blob/main/.github/workflows/pr-commands.yaml, but these use the default github token for authentication, which means that when they are run, they do not trigger any additional checks.

We should implement using the docs bot for git checkout and push in that workflow, which will then trigger downstream checks. To do this, we first need to give this repo access to the OP_DOCS_BOT_GITHUB_TOKEN secret, and then add a service account token that has access to that secret (presumably the scpca science team token).

This would be similar to:
https://github.com/AlexsLemonade/refinebio-examples/blob/61b5ae6fa35bdea95e966e6cdbf04ade8ada5605/.github/workflows/style-and-sp-check.yml#L23-L36

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

No branches or pull requests

1 participant