Skip to content

Commit 03b5fa6

Browse files
Update README.md
1 parent b11a752 commit 03b5fa6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ contents:
3434
Then, add a `./github/virtual-assistant.yml` with the configuration as described
3535
below.
3636

37+
if you use repository-based projects, `${{ secrets.GITHUB_TOKEN }}` provides appropriate access privileges to this GitHub action. For organization-based projects the default GitHub token might not be enough so you need to follow these steps
38+
1. [Create](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line) a new personal github access token by enabling `repo` and `admin:org` permissions. Copy the value of the created token
39+
2. Create a new project secret under ( `https://github.com/elastic/YOUR_PROJECT/settings/secrets` ). Name it as you want (for instance `ACTIONS_TOKEN`) and paste the value of the personal access token you created in step 1.
40+
3. Replace `${{ secrets.GITHUB_TOKEN }}` with `${{ secrets.ACTIONS_TOKEN }}` in your yml configuration
41+
3742
## Configuration
3843

3944
Configuration can be stored at `./github/virtual-assistant.yml` as below

0 commit comments

Comments
 (0)