Closed kernelsam closed 1 year ago
@kernelsam Done, but had to use some instructions from https://github.com/Senzing/build-resources/issues/6.
Also, after an instruction like:
In the Name input box type: CODEOWNER_PR_RW_TOKEN.
there needs to be in instruction to put the value of the token into the text box.
@docktermj I updated the description in #6 as well as this issue with instructions for inputing the token in the text box. What instructions did you need to use from #6?
Moving back to in progress. This is missing in the actions secrets. From above description:
In the Security section of the sidebar, select * Secrets and variables, then click Actions. Click New organization secret. In the Name input box type: PROJECT_RW_TOKEN. Input the token generated above into the text box. From the Repository access dropdown list, choose Selected repositories. Under the Selected repositories dropdown, select the following: build-resources Click Add secret.
@docktermj per discussion I have updated the token name in the description of this issue to SENZING_GITHUB_PROJECT_RW_TOKEN
.
To be used by #16, needs to be set in the called workflow as well as the caller workflow.
This is currently set to the existing token used for linking classic projects which does not have the correct permissions, see output.
This action is being taken in conjunction with #15 as tokens should always have the minimum level of permissions required to run the respective workflow.
Create a fine-grained personal access token - the account needs to have access to the respective project(s) and repository(s).
Settings
.Developer settings
.Personal access tokens
, selectTokens (classic
).Generate new token
.Note
, enter a name for the token:SENZING_GITHUB_PROJECT_RW_TOKEN
.Expiration
, select an expiration for the token.Select scopes
select the following:Generate token
.Note: To create secrets at the organization level, you must have admin access.
Settings
.* Secrets and variables
, then clickDependabot
.New organization secret
.Name
input box type:SENZING_GITHUB_PROJECT_RW_TOKEN
.Repository access
dropdown list, chooseSelected repositories
.Selected repositories
dropdown, select the following:build-resources
Add secret
.* Secrets and variables
, then clickActions
.New organization secret
.Name
input box type:SENZING_GITHUB_PROJECT_RW_TOKEN
.Repository access
dropdown list, chooseSelected repositories
.Selected repositories
dropdown, select the following:build-resources
Add secret
.