8000 rename and add continue-on-error · python/python-docs-es@94a5617 · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 94a5617

Browse files
committed
rename and add continue-on-error
1 parent b60f901 commit 94a5617

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: pospell
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
7+
jobs:
8+
fix-spell:
9+
name: Fix spelling
10+
runs-on: ubuntu-latest
11+
if: |
12+
github.event.comment.body == 'run-powrap'
13+
&& github.event.issue.pull_request
14+
steps:
15+
- name: Confirmar ejecucion
16+
uses: actions/github-script@v6
17+
with:
18+
script: |
19+
const {owner, repo} 8000 = context.issue
20+
github.reactions.createForIssueComment({
21+
owner,
22+
repo,
23+
comment_id: context.payload.comment.id,
24+
content: "+1",
25+
});
26+
- uses: actions/checkout@v3
27+
- name: Preparar Python v3.10
28+
uses: actions/setup-python@v4
29+
with:
30+
python-version: "3.10"
31+
cache: "pip"
32+
- name: Instalar dependencias
33+
run: |
34+
sudo apt-get update
35+
sudo apt-get install -y hunspell hunspell-es gettext
36+
python -m pip install -r requirements.txt
37+
- name: Ejecutar Powrap
38+
run: powrap --quiet **/*.po
39+
- name: Revisar con Pospell
40+
run: python scripts/check_spell.py
41+
continue-on-error: true
42+
- name: Commit & Push changes
43+
uses: actions-js/push@master
44+
with:
45+
message: "auto: spell check"
46+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)
0