From 450b361d21fe8d9d44d7b14762399d74553ef276 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Sun, 1 Jan 2023 11:07:34 +0000 Subject: [PATCH] Add an environment containing the secret token This ensures that we only expose the token to this one job on `main`. --- .github/workflows/update-rtd-redirects.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-rtd-redirects.yml b/.github/workflows/update-rtd-redirects.yml index 8a300d06fd9..8259b6c0b6a 100644 --- a/.github/workflows/update-rtd-redirects.yml +++ b/.github/workflows/update-rtd-redirects.yml @@ -16,6 +16,7 @@ concurrency: jobs: update-rtd-redirects: runs-on: ubuntu-latest + environment: RTD Deploys steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4