Skip to content

Commit

Permalink
docs: personal access token (apptools-lab#810)
Browse files Browse the repository at this point in the history
* docs: personal access token

* docs: same size
  • Loading branch information
alvinhui committed Mar 15, 2021
1 parent d11ce98 commit 736f34e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,27 @@ $ vsce publish -p YOUR_PERSONAL_ACCESS_TOKEN
https://iceworks.oss-cn-hangzhou.aliyuncs.com/vscode-extensions/beta/Iceworks.zip
- When your PR has been merged into `master` branch, changed packages and VS Code Extensions will be auto published.

#### Personal Access Token

Get a Personal Access Token:

1. From organization's home page(`https://dev.azure.com/iceworksteam`) open the User settings dropdown menu next to your profile image and select **Personal access tokens**:
![](https://img.alicdn.com/imgextra/i4/O1CN01g6uKB51MBPZcyaVc7_!!6000000001396-2-tps-746-429.png_790x10000.jpg)
2. On the Personal Access Tokens page, select New Token to create a new Personal Access Token and set the following details:
![](https://img.alicdn.com/imgextra/i4/O1CN01yKsJ7u27siyDzSHYv_!!6000000007853-2-tps-1216-820.png_790x10000.jpg)

1. Give it a Name
2. Set Organization to All accessible organizations
3. Optionally extend its expiration date
4. Set Scopes to Custom defined and choose the Marketplace > Manage scope
5. Select Create and you'll be presented with your newly created Personal Access Token. Copy it.

Set Personal Access Token for Github Actions:

1. Visit [Actions secrets](https://github.com/ice-lab/iceworks/settings/secrets/actions)
2. Update `VSCE_TOKEN`:
![](https://img.alicdn.com/imgextra/i2/O1CN01NpeNCf2558rTm9812_!!6000000007474-2-tps-2880-1754.png_790x10000.jpg)

## Pull Request Guidelines

- Only code that's ready for release should be committed to the master branch. All development should be done in dedicated branches.
Expand Down

0 comments on commit 736f34e

Please sign in to comment.