From faa23b6fee4f4f4f0ff02751758e030a92c63359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20San=20Jos=C3=A9?= Date: Mon, 27 Jan 2025 10:54:47 +0100 Subject: [PATCH 1/3] Switch auth for enterprises-release repo from ssh to codeql CI token --- .../workflows/update-supported-enterprise-server-versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-supported-enterprise-server-versions.yml b/.github/workflows/update-supported-enterprise-server-versions.yml index 5eaa167c36..04a08fd00e 100644 --- a/.github/workflows/update-supported-enterprise-server-versions.yml +++ b/.github/workflows/update-supported-enterprise-server-versions.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v4 with: repository: github/enterprise-releases - ssh-key: ${{ secrets.ENTERPRISE_RELEASES_SSH_KEY }} + token: ${{ secrets.CODEQL_CI_TOKEN }} path: ${{ github.workspace }}/enterprise-releases/ - name: Update Supported Enterprise Server Versions run: | From 9ba5bca2ab328393b351a618339ad6f4b552e583 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Mon, 27 Jan 2025 09:29:49 -0800 Subject: [PATCH 2/3] Update Python version to 3.13 in workflow --- .../workflows/update-supported-enterprise-server-versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-supported-enterprise-server-versions.yml b/.github/workflows/update-supported-enterprise-server-versions.yml index 04a08fd00e..a4313e0f72 100644 --- a/.github/workflows/update-supported-enterprise-server-versions.yml +++ b/.github/workflows/update-supported-enterprise-server-versions.yml @@ -19,7 +19,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.7" + python-version: "3.13" - name: Checkout CodeQL Action uses: actions/checkout@v4 - name: Checkout Enterprise Releases From 1b7bc4888bf570fc8cfe6202c897a0e0dbbf491f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20San=20Jos=C3=A9?= Date: Wed, 29 Jan 2025 12:34:35 +0100 Subject: [PATCH 3/3] Rename token to clarify scope --- .../workflows/update-supported-enterprise-server-versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-supported-enterprise-server-versions.yml b/.github/workflows/update-supported-enterprise-server-versions.yml index a4313e0f72..501163a63d 100644 --- a/.github/workflows/update-supported-enterprise-server-versions.yml +++ b/.github/workflows/update-supported-enterprise-server-versions.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v4 with: repository: github/enterprise-releases - token: ${{ secrets.CODEQL_CI_TOKEN }} + token: ${{ secrets.ENTERPRISE_RELEASE_TOKEN }} path: ${{ github.workspace }}/enterprise-releases/ - name: Update Supported Enterprise Server Versions run: |