Skip to content

Commit b56ed00

Browse files
committed
Fix command-block workflow
1 parent a063270 commit b56ed00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/command-block.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ permissions:
1212
jobs:
1313
comment:
1414
runs-on: ubuntu-latest
15+
# If the docs was updated by hustcer, skip the commenting step
16+
if: ${{!contains(github.event.pull_request.user.login, 'hustcer') }}
1517
steps:
1618
- uses: actions/[email protected]
17-
# If the docs was updated by hustcer, skip the commenting step
18-
if: ${{!contains(github.event.pull_request.body, 'hustcer') }}
1919
with:
2020
script: |
2121
github.rest.issues.createComment({

0 commit comments

Comments
 (0)