Ejecuta pospell con un comentario en el PR by erickisos · Pull Request #1825 · python/python-docs-es · GitHub
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
44 changes: 44 additions & 0 deletions .github/workflows/pospell-on-demand.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: pospell
on:
issue_comment:
types:
- edited
- created

jobs:
fix-spell:
name: Fix spelling
runs-on: ubuntu-latest
if: ${{ github.event.issue.pull_request && github.event.comment.body == 'pospell-fix' }}
steps:
- name: Confirmar ejecucion
uses: actions/github-script@v6
with:
script: |
await github.rest.issues.createForIssueComment({
context.repo.owner,
context.repo.repo,
comment_id: context.payload.comment.id,
content: "+1",
});
- uses: actions/checkout@v3
- name: Preparar Python v3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"
- name: Instalar dependencias
run: |
sudo apt-get update
sudo apt-get install -y hunspell hunspell-es gettext
python -m pip install -r requirements.txt
- name: Ejecutar Powrap
run: powrap --quiet **/*.po
- name: Revisar con Pospell
run: python scripts/check_spell.py
continue-on-error: true
- name: Commit & Push changes
uses: actions-js/push@master
with:
message: "auto: spell check"
github_token: ${{ secrets.GITHUB_TOKEN }}
58 changes: 58 additions & 0 deletions .overrides/logo/README.md
526 changes: 526 additions & 0 deletions .overrides/logo/ready-centered.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
526 changes: 526 additions & 0 deletions .overrides/logo/ready-fullpage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading