From f3ae4249c65741443fc358639dea3464b77aaeee Mon Sep 17 00:00:00 2001 From: Yasser Tahiri Date: Wed, 10 Apr 2024 23:21:26 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Update=20dependencies?= =?UTF-8?q?=20versions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requirements/docs.txt | 4 ++-- requirements/linting.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements/docs.txt b/requirements/docs.txt index 1eec420..f11b85d 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -164,9 +164,9 @@ tinycss2==1.2.1 # via # cairosvg # cssselect2 -typer==0.12.1 +typer==0.12.3 # via typer-cli -typer-cli==0.12.1 +typer-cli==0.12.3 typing-extensions==4.11.0 # via # griffe-typingdoc diff --git a/requirements/linting.txt b/requirements/linting.txt index ad31fdd..2823988 100644 --- a/requirements/linting.txt +++ b/requirements/linting.txt @@ -4,7 +4,7 @@ cfgv==3.4.0 # via pre-commit distlib==0.3.8 # via virtualenv -filelock==3.13.3 +filelock==3.13.4 # via virtualenv identify==2.5.35 # via pre-commit From 2e6c332531f325e0174695bef8ab502d6ae1d4d6 Mon Sep 17 00:00:00 2001 From: Yasser Tahiri Date: Wed, 10 Apr 2024 23:21:42 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=93=9D=20Add=20release=20notes=20and?= =?UTF-8?q?=20changelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/release.md | 3 +++ mkdocs.yml | 1 + 2 files changed, 4 insertions(+) create mode 100644 docs/release.md diff --git a/docs/release.md b/docs/release.md new file mode 100644 index 0000000..e31789f --- /dev/null +++ b/docs/release.md @@ -0,0 +1,3 @@ +# Release Notes + +## Latest Changes diff --git a/mkdocs.yml b/mkdocs.yml index 02592f3..11f5578 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -63,6 +63,7 @@ nav: - Frequently Asked Questions: faq.md - Code of Conduct: code_of_conduct.md - License: license.md + - Changelog: release.md extra: social: From 03ef0548e52c8f2ef101bdbf0a62a1efcfde6050 Mon Sep 17 00:00:00 2001 From: Yasser Tahiri Date: Wed, 10 Apr 2024 23:22:03 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=91=B7=20Add=20`latest-changes`=20wor?= =?UTF-8?q?kflow=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/latest-changes.yml | 50 ++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .github/workflows/latest-changes.yml diff --git a/.github/workflows/latest-changes.yml b/.github/workflows/latest-changes.yml new file mode 100644 index 0000000..a41d260 --- /dev/null +++ b/.github/workflows/latest-changes.yml @@ -0,0 +1,50 @@ +# Use the latest-changes action to generate a release.md file with the latest changes. + +# Thanks to @tiangolo for the original action, [see here](https://github.com/tiangolo/fastapi/blob/master/.github/workflows/latest-changes.yml). + + +name: Latest Changes + +on: + pull_request_target: + branches: + - main + types: + - closed + workflow_dispatch: + inputs: + number: + description: PR number + 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: + latest-changes: + runs-on: ubuntu-latest + steps: + - name: Dump GitHub context + env: + GITHUB_CONTEXT: ${{ toJson(github) }} + run: echo "$GITHUB_CONTEXT" + - uses: actions/checkout@v4 + with: + # To allow latest-changes to commit to the main branch + token: ${{ secrets.GITHUB_TOKEN }} + # Allow debugging with tmate + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 + if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }} + with: + limit-access-to-actor: true + - uses: docker://tiangolo/latest-changes:0.3.0 + # - uses: tiangolo/latest-changes@main + with: + token: ${{ secrets.GITHUB_TOKEN }} + latest_changes_file: docs/release.md + latest_changes_header: '## Latest Changes' + end_regex: '^## ' + debug_logs: true + label_header_prefix: '### '