From 85996e6f81a24513671eae92699cdc29d8cdf942 Mon Sep 17 00:00:00 2001 From: Andy Lulham Date: Fri, 24 Oct 2025 13:30:05 +0100 Subject: [PATCH] fix: codelist update workflow --- .github/workflows/update-codelists.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/update-codelists.yml b/.github/workflows/update-codelists.yml index cbe75670..afe74b34 100644 --- a/.github/workflows/update-codelists.yml +++ b/.github/workflows/update-codelists.yml @@ -1,5 +1,6 @@ name: Update codelists on: + workflow_dispatch: repository_dispatch: types: [update-codelists] jobs: @@ -7,11 +8,12 @@ jobs: name: Update codelists runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Set up Python 3.7 - uses: actions/setup-python@v5 + - uses: actions/checkout@v5 + - name: Set up Python 3.8 + uses: actions/setup-python@v6 with: - python-version: 3.7 + python-version: 3.8 + cache: pip - name: Install python dependencies run: | python -m pip install --upgrade pip @@ -20,7 +22,7 @@ jobs: run: | iati download-codelists - name: Create a pull request - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v7 with: token: ${{ secrets.GH_TOKEN }} commit-message: Codelist update