From 2e49582c75ffc9831d07f9a4cbe675cd17f51c3c Mon Sep 17 00:00:00 2001 From: Shai Almog <67850168+shai-almog@users.noreply.github.com> Date: Fri, 17 Oct 2025 08:12:28 +0300 Subject: [PATCH] Added reminder about the token --- .github/workflows/scripts-android.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/scripts-android.yml b/.github/workflows/scripts-android.yml index e0bf575f56..ee0966af38 100644 --- a/.github/workflows/scripts-android.yml +++ b/.github/workflows/scripts-android.yml @@ -43,6 +43,21 @@ name: Test Android build scripts - 'tests/**' - '!tests/**/*.md' +# The token in secrets.CN1SS_GH_TOKEN was generated on +# Oct 16th 2025. If in Oct 2026 builds start failing, it +# means the token needs to be regenerated: +# 1. Go to https://github.com/settings/tokens → “Developer settings” → “Personal access tokens”. +# 2. Choose Fine-grained token (recommended). +# 3. Grant: +# • Repository access → select Codename One +# • Permissions: +# • Contents → Read and Write +# • Pull requests → Read and Write +# • Issues → Read and Write +# 4. Copy the generated token +# 5. Go to https://github.com/codenameone/CodenameOne/settings/secrets/actions +# and edit the CN1SS_GH_TOKEN to use the new token + jobs: build-android: permissions: