]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
👷 Upgrade `latest-changes` GitHub Action and pin `actions/checkout@v5` (#14403)
authorSofie Van Landeghem <svlandeg@users.noreply.github.com>
Mon, 24 Nov 2025 14:58:32 +0000 (15:58 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Nov 2025 14:58:32 +0000 (15:58 +0100)
👷 Upgrade latest-changes and pin actions/checkout@v5

.github/workflows/latest-changes.yml

index 3bff707c0b49f044962e2a9a49d6cfc1278d77de..b9e45ea629639b5185b926de03971f50f29b9c0d 100644 (file)
@@ -24,7 +24,9 @@ jobs:
         env:
           GITHUB_CONTEXT: ${{ toJson(github) }}
         run: echo "$GITHUB_CONTEXT"
-      - uses: actions/checkout@v6
+      # pin to actions/checkout@v5 for compatibility with latest-changes
+      # Ref: https://github.com/actions/checkout/issues/2313
+      - uses: actions/checkout@v5
         with:
           # To allow latest-changes to commit to the main branch
           token: ${{ secrets.FASTAPI_LATEST_CHANGES }}
@@ -34,7 +36,7 @@ jobs:
         if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}
         with:
           limit-access-to-actor: true
-      - uses: tiangolo/latest-changes@0.4.0
+      - uses: tiangolo/latest-changes@0.4.1
         with:
           token: ${{ secrets.GITHUB_TOKEN }}
           latest_changes_file: docs/en/docs/release-notes.md