]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
👷 Upgrade GitHub Action Latest Changes (#2184)
authorSebastián Ramírez <tiangolo@gmail.com>
Fri, 16 Oct 2020 20:04:12 +0000 (22:04 +0200)
committerGitHub <noreply@github.com>
Fri, 16 Oct 2020 20:04:12 +0000 (22:04 +0200)
.github/workflows/latest-changes.yml

index c6f0851cc20377b32fa6d562a97e4bad993cda0d..4554592d85515ba6c55c1f12d296e65ee2fa1241 100644 (file)
@@ -6,15 +6,20 @@ on:
       - master
     types:
       - closed
+  workflow_dispatch:
+    inputs:
+      number:
+        description: PR number
+        required: true
 
 jobs:
   latest-changes:
-    if: github.event.pull_request.merged == true
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v2
-      - uses: docker://tiangolo/latest-changes:0.0.1
+      - uses: docker://tiangolo/latest-changes:0.0.2
         with:
+          token: ${{ secrets.GITHUB_TOKEN }}
           latest_changes_file: docs/en/docs/release-notes.md
           latest_changes_header: '## Latest Changes\n\n'
           debug_logs: true