- Notifications
You must be signed in to change notification settings - Fork396
Ejecuta pospell con un comentario en el PR#1825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Uh oh!
There was an error while loading.Please reload this page.
Closed
Changes from1 commit
Commits
Show all changes
18 commits Select commitHold shift + click to select a range
9f36e72
wip: github action to run pospell
erickisosfe540b9
corrige y añade traductores faltantes
cacrespo04cd006
Merge pull request #1827 from cacrespo/fix_translators
raulcdbbfed35
logo python-docs-es + instrucciones de cómo generarlo (#1828)
mmmarcos29d216b
Chequea orden en TRANSLATORS (#1830)
rtobar23e34ff
nombre de directorio adecuado (#1829)
cacrespoa7fbd71
Usar 'lanzar' para 'raise' (#1816)
cmaureiref2d567
Varias correcciones en el módulo `time` (#1831)
gio8tisu6713fc1
Fix built-in Sphinx substitutions. (#1834)
ezio-melotti4784132
fix: execute only on PR
erickisosb60f901
Apply suggestions from code review
erickisos94a5617
rename and add continue-on-error
erickisos4c88e59
one liner to avoid confusion
erickisos8a35070
Merge pull request #1 from erickisos/github-actions
erickisos5e8294d
Update check_spell.py
erickisose97b234
delete duplicated file
erickisosa298acd
fix createforIssueComment
erickisos89efe08
Merge pull request #2 from erickisos/erickisos-patch-1
erickisosFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
rename and add continue-on-error
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit94a5617bb0f52e2f66f1a0af10b29d1a524f973e
There are no files selected for viewing
46 changes: 46 additions & 0 deletions.github/workflows/pospell-on-demand.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: pospell | ||
on: | ||
issue_comment: | ||
types: | ||
- created | ||
jobs: | ||
fix-spell: | ||
name: Fix spelling | ||
runs-on: ubuntu-latest | ||
if: | | ||
github.event.comment.body == 'run-powrap' | ||
&& github.event.issue.pull_request | ||
steps: | ||
- name: Confirmar ejecucion | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
const {owner, repo} = context.issue | ||
github.reactions.createForIssueComment({ | ||
owner, | ||
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 }} |
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.