]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
👷 Add GitHub Action Latest Changes (#2160)
authorSebastián Ramírez <tiangolo@gmail.com>
Sun, 11 Oct 2020 09:50:04 +0000 (11:50 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Oct 2020 09:50:04 +0000 (11:50 +0200)
.github/workflows/latest-changes.yml [new file with mode: 0644]
docs/en/docs/release-notes.md

diff --git a/.github/workflows/latest-changes.yml b/.github/workflows/latest-changes.yml
new file mode 100644 (file)
index 0000000..c6f0851
--- /dev/null
@@ -0,0 +1,20 @@
+name: Latest Changes
+
+on:
+  pull_request_target:
+    branches:
+      - master
+    types:
+      - closed
+
+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
+        with:
+          latest_changes_file: docs/en/docs/release-notes.md
+          latest_changes_header: '## Latest Changes\n\n'
+          debug_logs: true
index e6611c7a65cfbd7a7e930fa4145de70e457a3011..f3c1a277bb0a63b354ce30ddc6e16438caf01c84 100644 (file)
@@ -1,6 +1,7 @@
 # Release Notes
 
-## Latest changes
+## Latest Changes
+
 
 ## 0.61.1