mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-12 05:26:45 +00:00
👷 Update GitHub Action latest-changes (#3573)
This commit is contained in:
parent
7741635b3b
commit
67ef62a4dd
1 changed files with 13 additions and 1 deletions
14
.github/workflows/latest-changes.yml
vendored
14
.github/workflows/latest-changes.yml
vendored
|
|
@ -11,15 +11,27 @@ on:
|
||||||
number:
|
number:
|
||||||
description: PR number
|
description: PR number
|
||||||
required: true
|
required: true
|
||||||
|
debug_enabled:
|
||||||
|
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
|
||||||
|
required: false
|
||||||
|
default: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
latest-changes:
|
latest-changes:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
# Allow debugging with tmate
|
||||||
|
- name: Setup tmate session
|
||||||
|
uses: mxschmitt/action-tmate@v3
|
||||||
|
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
|
||||||
|
with:
|
||||||
|
limit-access-to-actor: true
|
||||||
|
token: ${{ secrets.ACTIONS_TOKEN }}
|
||||||
|
standard_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- uses: docker://tiangolo/latest-changes:0.0.3
|
- uses: docker://tiangolo/latest-changes:0.0.3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.ACTION_TOKEN }}
|
||||||
latest_changes_file: docs/en/docs/release-notes.md
|
latest_changes_file: docs/en/docs/release-notes.md
|
||||||
latest_changes_header: '## Latest Changes\n\n'
|
latest_changes_header: '## Latest Changes\n\n'
|
||||||
debug_logs: true
|
debug_logs: true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue