From 83e260592ee6f66fe14ac57680b4a01e7a618500 Mon Sep 17 00:00:00 2001
From: Hedgehog Chen <jhihruei@users.noreply.github.com>
Date: Tue, 30 May 2023 14:20:21 +0800
Subject: [PATCH] readme: Add note to remind GitLab can use PAT

Signed-off-by: Hedgehog Chen <jhihruei@users.noreply.github.com>
---
 README.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/README.md b/README.md
index 780a337..eb48b28 100644
--- a/README.md
+++ b/README.md
@@ -107,6 +107,8 @@ jobs:
           password: ${{ secrets.GITLAB_PASSWORD }}
 ```
 
+If you have [Two-Factor Authentication](https://gitlab.com/help/user/profile/account/two_factor_authentication) enabled, use a [Personal Access Token](https://gitlab.com/help/user/profile/personal_access_tokens) instead of a password.
+
 ### Azure Container Registry (ACR)
 
 [Create a service principal](https://docs.microsoft.com/en-us/azure/container-registry/container-registry-auth-service-principal#create-a-service-principal)