From 5ec0a3477576e7a8ace861bfa0c9f85563e4e325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Thu, 19 Feb 2026 19:41:18 +0100 Subject: [PATCH 1/5] =?UTF-8?q?=F0=9F=91=B7=20Debug=20latest-changes=20on?= =?UTF-8?q?=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/latest-changes.yml | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/.github/workflows/latest-changes.yml b/.github/workflows/latest-changes.yml index fa0839d..af236cd 100644 --- a/.github/workflows/latest-changes.yml +++ b/.github/workflows/latest-changes.yml @@ -4,6 +4,8 @@ on: pull_request_target: branches: - main + # TODO: fix this + - debug-latest-changes types: - closed workflow_dispatch: @@ -24,11 +26,22 @@ jobs: with: # To allow latest-changes to commit to the main branch token: ${{ secrets.FASTAPI_VSCODE_LATEST_CHANGES }} - - uses: tiangolo/latest-changes@0.4.1 + # TODO: remove this + - name: Install uv + uses: astral-sh/setup-uv@v7 + # TODO: remove this + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 with: - token: ${{ secrets.GITHUB_TOKEN }} - latest_changes_file: release-notes.md - latest_changes_header: '# Latest Changes' - end_regex: '^## ' - debug_logs: true - label_header_prefix: '## ' + limit-access-to-actor: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # TODO: uncomment this + # - uses: tiangolo/latest-changes@0.4.1 + # with: + # token: ${{ secrets.GITHUB_TOKEN }} + # latest_changes_file: release-notes.md + # latest_changes_header: '# Latest Changes' + # end_regex: '^## ' + # debug_logs: true + # label_header_prefix: '## ' From d783e3642b890f5dcdd597258d99f262326e0d52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Thu, 19 Feb 2026 19:46:15 +0100 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=91=B7=20Tweak=20when=20to=20trigger?= =?UTF-8?q?=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/latest-changes.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/latest-changes.yml b/.github/workflows/latest-changes.yml index af236cd..c473ff0 100644 --- a/.github/workflows/latest-changes.yml +++ b/.github/workflows/latest-changes.yml @@ -8,6 +8,8 @@ on: - debug-latest-changes types: - closed + # TODO: remove this + - synchronize workflow_dispatch: inputs: number: From c1995cdc96589a7d49ce43cbbc57165d25f61be9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Thu, 19 Feb 2026 19:47:36 +0100 Subject: [PATCH 3/5] =?UTF-8?q?=F0=9F=91=B7=20Tweak=20and=20tweak=20to=20p?= =?UTF-8?q?oke=20GitHub=20into=20doing=20things?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/latest-changes.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/latest-changes.yml b/.github/workflows/latest-changes.yml index c473ff0..ec28fe3 100644 --- a/.github/workflows/latest-changes.yml +++ b/.github/workflows/latest-changes.yml @@ -4,12 +4,12 @@ on: pull_request_target: branches: - main - # TODO: fix this - - debug-latest-changes types: - closed - # TODO: remove this - - synchronize + # TODO: remove this + push: + branches: + - debug-latest-changes workflow_dispatch: inputs: number: From c205ddb02679233d9a8170fe2dcec2075d4c3321 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Thu, 19 Feb 2026 19:51:23 +0100 Subject: [PATCH 4/5] =?UTF-8?q?=F0=9F=91=B7=20Tweak=20GitHub=20token=20per?= =?UTF-8?q?missions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/latest-changes.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/latest-changes.yml b/.github/workflows/latest-changes.yml index ec28fe3..14d4a88 100644 --- a/.github/workflows/latest-changes.yml +++ b/.github/workflows/latest-changes.yml @@ -19,6 +19,8 @@ on: jobs: latest-changes: runs-on: ubuntu-latest + permissions: + pull-requests: read steps: - name: Dump GitHub context env: From b2e9323e2b1c71edf4ddf504c4c71c81e804d1b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Thu, 19 Feb 2026 20:02:49 +0100 Subject: [PATCH 5/5] =?UTF-8?q?=F0=9F=94=A5=20Remove=20debugging=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/latest-changes.yml | 29 +++++++--------------------- 1 file changed, 7 insertions(+), 22 deletions(-) diff --git a/.github/workflows/latest-changes.yml b/.github/workflows/latest-changes.yml index 14d4a88..b7fa541 100644 --- a/.github/workflows/latest-changes.yml +++ b/.github/workflows/latest-changes.yml @@ -6,10 +6,6 @@ on: - main types: - closed - # TODO: remove this - push: - branches: - - debug-latest-changes workflow_dispatch: inputs: number: @@ -30,22 +26,11 @@ jobs: with: # To allow latest-changes to commit to the main branch token: ${{ secrets.FASTAPI_VSCODE_LATEST_CHANGES }} - # TODO: remove this - - name: Install uv - uses: astral-sh/setup-uv@v7 - # TODO: remove this - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 + - uses: tiangolo/latest-changes@0.4.1 with: - limit-access-to-actor: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # TODO: uncomment this - # - uses: tiangolo/latest-changes@0.4.1 - # with: - # token: ${{ secrets.GITHUB_TOKEN }} - # latest_changes_file: release-notes.md - # latest_changes_header: '# Latest Changes' - # end_regex: '^## ' - # debug_logs: true - # label_header_prefix: '## ' + token: ${{ secrets.GITHUB_TOKEN }} + latest_changes_file: release-notes.md + latest_changes_header: '# Latest Changes' + end_regex: '^## ' + debug_logs: true + label_header_prefix: '## '