From fd30b12f941e147bcb40851b249f148c28ce7b53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Wed, 14 Jun 2023 01:56:09 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=91=B7=20Add=20Latest=20Changes=20Git?= =?UTF-8?q?Hub=20Action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/latest-changes.yml | 28 ++++++++++++++++++++++++++++ docs/release-notes.md | 3 +++ 2 files changed, 31 insertions(+) create mode 100644 .github/workflows/latest-changes.yml create mode 100644 docs/release-notes.md diff --git a/.github/workflows/latest-changes.yml b/.github/workflows/latest-changes.yml new file mode 100644 index 0000000..c3e506e --- /dev/null +++ b/.github/workflows/latest-changes.yml @@ -0,0 +1,28 @@ +name: Latest Changes + +on: + pull_request_target: + branches: + - main + types: + - closed + workflow_dispatch: + inputs: + number: + description: PR number + required: true + +jobs: + latest-changes: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + # To allow latest-changes to commit to master + token: ${{ secrets.LATEST_CHANGES_TOKEN }} + - uses: docker://tiangolo/latest-changes:0.0.3 + with: + token: ${{ secrets.LATEST_CHANGES_TOKEN }} + latest_changes_file: docs/release-notes.md + latest_changes_header: '## Latest Changes\n\n' + debug_logs: true diff --git a/docs/release-notes.md b/docs/release-notes.md new file mode 100644 index 0000000..e31789f --- /dev/null +++ b/docs/release-notes.md @@ -0,0 +1,3 @@ +# Release Notes + +## Latest Changes From 26c5770faab6f2bb182ebc4e04ca3496618f8f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Wed, 14 Jun 2023 02:33:24 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=A7=20Add=20latest-changes.md=20to?= =?UTF-8?q?=20MkDocs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mkdocs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/mkdocs.yml b/mkdocs.yml index b78d690..4dd8fbc 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -34,6 +34,7 @@ nav: - agent.md - tool.md - workflow-evaluation.md + - release-notes.md markdown_extensions: - toc: