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

fix(build): add instructions for creating a token #2691

Merged
merged 2 commits into from
Sep 20, 2023
Merged

Conversation

tido64
Copy link
Member

@tido64 tido64 commented Sep 19, 2023

Description

Added instructions for how to create an access token.

Test plan

First, move ~/Library/Preferences/rnx-build-nodejs/config.json elsewhere.

% cd incubator/build
% yarn build --dependencies
% yarn rnx-build -p ios --device-type simulator ../../packages/test-app
Missing personal access token for GitHub.

Please create a fine-grained personal access token, and save it in '~/Library/Preferences/rnx-build-nodejs/config.json' like below:

	{"github":{"token":"github_pat_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"}}

The token must have `action:write` permission. When creating a new fine-grained personal access token, under 'Repository permissions', make sure 'Actions' is set to 'Read and write'.

For how to create a personal access token, see: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token

@tido64 tido64 merged commit a1cfd62 into main Sep 20, 2023
12 checks passed
@tido64 tido64 deleted the tido/build/token branch September 20, 2023 14:23
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

Successfully merging this pull request may close these issues.

2 participants