From b15d5cb010ab7a645261571543df3cca0a3d4256 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 07:39:02 +0800 Subject: [PATCH 1/3] Bump actions/checkout from 3 to 4 (#2378) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
Release notes

Sourced from actions/checkout's releases.

v4.0.0

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v3...v4.0.0

v3.6.0

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v3.5.3...v3.6.0

v3.5.3

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v3...v3.5.3

v3.5.2

What's Changed

Full Changelog: https://github.com/actions/checkout/compare/v3.5.1...v3.5.2

v3.5.1

What's Changed

New Contributors

... (truncated)

Changelog

Sourced from actions/checkout's changelog.

Changelog

v4.0.0

v3.6.0

v3.5.3

v3.5.2

v3.5.1

v3.5.0

v3.4.0

v3.3.0

v3.2.0

v3.1.0

v3.0.2

v3.0.1

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=3&new-version=4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e6f7012093..e8e7dd1474 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: name: Test runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Preparar Python v3.11 uses: actions/setup-python@v4 with: From 4a02cae44e7cbf03dd39e741c43ddfcd7c10d03d Mon Sep 17 00:00:00 2001 From: Andrea Alegre Date: Mon, 9 Oct 2023 22:04:36 +0100 Subject: [PATCH 2/3] =?UTF-8?q?No=20ignorar=20archivos=20que=20tienen=20s?= =?UTF-8?q?=C3=B3lo=20entradas=20fuzzy=20(#2377)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Me di cuenta que en la página de [progreso de la traducción](https://python-docs-es.readthedocs.io/es/3.11/progress.html) quedan muchos archivos que sólo tienen entradas fuzzy para verificar, pero no hay un issue creado. En esta PR agrego una condición al script `create_issue.py` para que esos archivos no sean ignorados. Además, actualizo un import que no funciona con la version actual de `potodo`. --- scripts/create_issue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/create_issue.py b/scripts/create_issue.py index d3fa95af8b..9bf6a7dd5d 100644 --- a/scripts/create_issue.py +++ b/scripts/create_issue.py @@ -6,7 +6,7 @@ from pathlib import Path from github import Github -from potodo._po_file import PoFileStats +from potodo.potodo import PoFileStats if len(sys.argv) != 2: print('Specify PO filename') @@ -32,7 +32,7 @@ if answer != 'y': sys.exit(1) -if any([ +if pofile.fuzzy == 0 and any([ pofile.translated_nb == pofile.po_file_size, pofile.untranslated_nb == 0, ]): From 169b71e2847a5c679b5e08b213c2581fa0035bb7 Mon Sep 17 00:00:00 2001 From: "Erick G. Islas-Osuna" Date: Tue, 17 Oct 2023 13:50:36 -0600 Subject: [PATCH 3/3] Add stale action for PR and Issues (#2383) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Esta es una propuesta de reemplazo a ladibug para gestionar el estado de Issues y PRs que han estado sin movimiento en un periodo de tiempo. Closes #628 Reemplaza #629 --------- Co-authored-by: Cristián Maureira-Fredes Co-authored-by: Carlos A. Crespo --- .github/workflows/stale.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/stale.yaml diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml new file mode 100644 index 0000000000..490e313bab --- /dev/null +++ b/.github/workflows/stale.yaml @@ -0,0 +1,18 @@ +name: 'Cierra issues y PRs antiguos' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + with: + stale-pr-label: 'needs decision' + stale-issue-label: 'stale' + days-before-issue-stale: 10 + days-before-pr-stale: 7 + days-before-pr-close: 21 + stale-issue-message: 'Este issue lleva un tiempo sin actualizaciones. ¿Estás trabajando todavía?\nSi necesitas ayuda :sos: no dudes en contactarnos en nuestro [grupo de Telegram](https://t.me/python_docs_es).' + stale-pr-message: 'Este PR lleva un tiempo sin actualizaciones. Vamos a pedir a un admin de nuestro equipo que decida si alguien más puede finalizarlo o si tenemos que cerrarlo.\nPor favor, avisanos en caso de que aún puedas terminarlo.'