From d3eca873890fd3d06085e498d15840ae0e7e51f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= <76261501+zecakeh@users.noreply.github.com> Date: Tue, 30 Apr 2024 18:01:18 +0200 Subject: [PATCH] Set python version for the Towncrier CI job (#1805) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise the version might change depending on the runner. We just use the same version as other jobs. This removes a GitHub warning. Signed-off-by: Kévin Commaille Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> --- .github/workflows/main.yml | 2 ++ changelogs/internal/newsfragments/1805.clarification | 1 + 2 files changed, 3 insertions(+) create mode 100644 changelogs/internal/newsfragments/1805.clarification diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7d58b383..94cc1a5b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -167,6 +167,8 @@ jobs: uses: actions/checkout@v4 - name: "➕ Setup Python" uses: actions/setup-python@v5 + with: + python-version: '3.9' - name: "➕ Install towncrier" run: "pip install 'towncrier'" - name: "Generate changelog" diff --git a/changelogs/internal/newsfragments/1805.clarification b/changelogs/internal/newsfragments/1805.clarification new file mode 100644 index 00000000..c1b09b62 --- /dev/null +++ b/changelogs/internal/newsfragments/1805.clarification @@ -0,0 +1 @@ +Set python version for the Towncrier CI job.