Skip to content

Commit e247b8c

Browse files
committed
Update access-token.md
1 parent 49f1662 commit e247b8c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

recipes/ci-cd/github-actions/tokens/access-token.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Access token cheatsheet
22

3+
{% raw %}
34

45
## Warning
56

@@ -38,7 +39,6 @@ Github will also scan to find accidentally committed secrets - [doc](https://hel
3839

3940
## How to use an access token in a workflow
4041

41-
4242
### 1. Create token
4343

4444
1. Go to **Personal Access Tokens** section.
@@ -53,7 +53,6 @@ Github will also scan to find accidentally committed secrets - [doc](https://hel
5353
to commit to the `gh-pages` branch.
5454
1. **Copy** the token value.
5555

56-
5756
### 2. Set the token in secrets
5857

5958
1. Go to your repository's **Settings*
@@ -123,3 +122,5 @@ https://<token>:[email protected]/USERNAME/REPO_NAME.git
123122
From [blog post](https://github.blog/2012-09-21-easier-builds-and-deployments-using-git-over-https-and-oauth/)
124123
125124
> Tokens should be treated as passwords. Putting the token in the clone URL will result in Git writing it to the .git/config file in plain text. Unfortunately, this happens for HTTP passwords, too.
125+
126+
{% endraw %}

0 commit comments

Comments
 (0)