Skip to content

Commit 4c88e59

Browse files
committed
one liner to avoid confusion
1 parent 94a5617 commit 4c88e59

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/pospell.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@ name: pospell
22
on:
33
issue_comment:
44
types:
5+
- edited
56
- created
67

78
jobs:
89
fix-spell:
910
name: Fix spelling
1011
runs-on: ubuntu-latest
11-
if: |
12-
github.event.comment.body == 'pospell-fix'
13-
&& github.event.issue.pull_request
12+
if: ${{ github.event.issue.pull_request && github.event.comment.body == 'pospell-fix' }}
1413
steps:
1514
- name: Confirm process
1615
uses: actions/github-script@v6
@@ -28,7 +27,7 @@ jobs:
2827
uses: actions/setup-python@v4
2928
with:
3029
python-version: "3.10"
31-
cache: 'pip'
30+
cache: "pip"
3231
- name: Instalar dependencias
3332
run: |
3433
sudo apt-get update

0 commit comments

Comments
 (0)