Skip to content

Commit 5febeab

Browse files
Merge pull request #287015 from Akhilesh-microsoft/ACA/tutorial_ci_cd_runners_jobs
[Git issue 122704] : Token expiry
2 parents 4e5b6f7 + a60209e commit 5febeab

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

articles/container-apps/tutorial-ci-cd-runners-jobs.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: craigshoemaker
66
ms.service: azure-container-apps
77
ms.custom: devx-track-azurecli
88
ms.topic: conceptual
9-
ms.date: 06/01/2023
9+
ms.date: 10/10/2024
1010
ms.author: cshoe
1111
zone_pivot_groups: container-apps-jobs-self-hosted-ci-cd
1212
---
@@ -198,6 +198,9 @@ The workflow runs on the `ubuntu-latest` GitHub-hosted runner and prints a messa
198198

199199
To run a self-hosted runner, you need to create a personal access token (PAT) in GitHub. Each time a runner starts, the PAT is used to generate a token to register the runner with GitHub. The PAT is also used by the GitHub Actions runner scale rule to monitor the repository's workflow queue and start runners as needed.
200200
201+
> [!NOTE]
202+
> Personal Access Tokens (PATs) have an expiration date. Regularly rotate your tokens to ensure they remain valid (not expired) to maintain uninterrupted service.
203+
201204
1. In GitHub, select your profile picture in the upper-right corner and select **Settings**.
202205
203206
1. Select **Developer settings**.
@@ -504,6 +507,9 @@ Create a new agent pool to run the self-hosted runner.
504507
505508
To run a self-hosted runner, you need to create a personal access token (PAT) in Azure DevOps. The PAT is used to authenticate the runner with Azure DevOps. It's also used by the scale rule to determine the number of pending pipeline runs and trigger new job executions.
506509
510+
[!NOTE]
511+
> Personal Access Tokens (PATs) have an expiration date. Regularly rotate your tokens to ensure they remain valid (not expired) to maintain uninterrupted service.
512+
507513
1. In Azure DevOps, select *User settings* next to your profile picture in the upper-right corner.
508514
509515
1. Select **Personal access tokens**.

0 commit comments

Comments
 (0)