mirror of
https://github.com/fastapi/sqlmodel.git
synced 2025-12-12 07:28:55 +08:00
👷 Upgrade latest-changes GitHub Action and pin actions/checkout@v5 (#1654)
👷 Upgrade latest-changes and pin actions/checkout@v5
This commit is contained in:
committed by
GitHub
parent
16bd6cdb84
commit
152cf064c2
6
.github/workflows/latest-changes.yml
vendored
6
.github/workflows/latest-changes.yml
vendored
@@ -20,7 +20,9 @@ jobs:
|
|||||||
latest-changes:
|
latest-changes:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- 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:
|
with:
|
||||||
# To allow latest-changes to commit to the main branch
|
# To allow latest-changes to commit to the main branch
|
||||||
token: ${{ secrets.SQLMODEL_LATEST_CHANGES }}
|
token: ${{ secrets.SQLMODEL_LATEST_CHANGES }}
|
||||||
@@ -30,7 +32,7 @@ jobs:
|
|||||||
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}
|
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}
|
||||||
with:
|
with:
|
||||||
limit-access-to-actor: true
|
limit-access-to-actor: true
|
||||||
- uses: tiangolo/latest-changes@0.4.0
|
- uses: tiangolo/latest-changes@0.4.1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
latest_changes_file: docs/release-notes.md
|
latest_changes_file: docs/release-notes.md
|
||||||
|
|||||||
Reference in New Issue
Block a user