From 14ac5f022474f769e87a7066bbbb1ed6cd521e8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Thu, 2 Nov 2023 21:24:46 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Upgrade=20latest-changes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/latest-changes.yml | 18 ++++++++++++++++-- docs/release-notes.md | 5 ++--- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/latest-changes.yml b/.github/workflows/latest-changes.yml index 8d056422..71ef8b60 100644 --- a/.github/workflows/latest-changes.yml +++ b/.github/workflows/latest-changes.yml @@ -30,9 +30,23 @@ jobs: if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }} with: limit-access-to-actor: true - - uses: docker://tiangolo/latest-changes:0.0.3 + - uses: docker://tiangolo/latest-changes:0.1.0 with: token: ${{ secrets.GITHUB_TOKEN }} latest_changes_file: docs/release-notes.md - latest_changes_header: '## Latest Changes\n\n' + latest_changes_header: '## Latest Changes' + end_regex: '^## ' debug_logs: true + labels: > + [ + {"label": "breaking", "header": "### Breaking Changes"}, + {"label": "security", "header": "### Security Fixes"}, + {"label": "feature", "header": "### Features"}, + {"label": "bug", "header": "### Fixes"}, + {"label": "refactor", "header": "### Refactors"}, + {"label": "upgrade", "header": "### Upgrades"}, + {"label": "docs", "header": "### Docs"}, + {"label": "lang-all", "header": "### Translations"}, + {"label": "internal", "header": "### Internal"} + ] + next_section_start: '^### ' diff --git a/docs/release-notes.md b/docs/release-notes.md index b7b3a901..6d15483d 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -2,9 +2,7 @@ ## Latest Changes -* 🔨 Update dev scripts. PR [#95](https://github.com/tiangolo/asyncer/pull/95) by [@tiangolo](https://github.com/tiangolo). - -### Refactor +### Refactors * ✏️ Tweak docstrings format. PR [#50](https://github.com/tiangolo/asyncer/pull/50) by [@realFranco](https://github.com/realFranco). @@ -17,6 +15,7 @@ ### Internal +* 🔨 Update dev scripts. PR [#95](https://github.com/tiangolo/asyncer/pull/95) by [@tiangolo](https://github.com/tiangolo). * ⬆ [pre-commit.ci] pre-commit autoupdate. PR [#83](https://github.com/tiangolo/asyncer/pull/83) by [@pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci). * ⬆ Bump actions/checkout from 3 to 4. PR [#85](https://github.com/tiangolo/asyncer/pull/85) by [@dependabot[bot]](https://github.com/apps/dependabot). * ⬆ Bump dawidd6/action-download-artifact from 2.27.0 to 2.28.0. PR [#88](https://github.com/tiangolo/asyncer/pull/88) by [@dependabot[bot]](https://github.com/apps/dependabot).