From 09f8df86ac44ebe8b58ea3a78f222a4f9d3fc899 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bence=20Sz=C3=A9pk=C3=BAti?= Date: Tue, 9 May 2023 20:47:49 +0200 Subject: [PATCH] Reword the API token explanation in redirects.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bence Szépkúti --- docs/redirects.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/redirects.yaml b/docs/redirects.yaml index c3a13f302..7ea1d9550 100644 --- a/docs/redirects.yaml +++ b/docs/redirects.yaml @@ -1,9 +1,10 @@ # Readthedocs redirects # See https://docs.readthedocs.io/en/stable/user-defined-redirects.html # -# In order to prevent exposing the API token, PR jobs do not update the -# redirects - changes to this file are only applied when they are merged -# into the main branch. +# Changes to this file do not take effect until they are merged into the +# 'development' branch. This is because the API token (RTD_TOKEN) is not +# made available in PR jobs - preventing bad actors from crafting PRs to +# expose it. - type: exact from_url: /projects/api/en/latest/$rest