Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

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

Sign up
Appearance settings

Commit94a5617

Browse files
committed
rename and add continue-on-error
1 parentb60f901 commit94a5617

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} = 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)

[8]ページ先頭

©2009-2025 Movatter.jp