Skip to content

Commit 21c34fb

Browse files
committed
#2964 - use bash for reporter
1 parent 93f4637 commit 21c34fb

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,11 @@ jobs:
123123
directory: ./artifacts/docs/preview
124124
arguments: --ignore-urls /api/,/docs/ --allow-hash-href --assume-extension --disable-external
125125
-
126-
name: Reviewdog Reporter
127-
uses: haya14busa/action-cond@v1
126+
name: '[Reviewdog Reporter]'
128127
id: reporter
129-
with:
130-
cond: ${{ github.event_name == 'pull_request' }}
131-
if_true: github-pr-review
132-
if_false: github-check
128+
run: |
129+
value=$([ ${{ github.event_name == 'pull_request' }} ] && echo "github-pr-review" || echo "github-check")
130+
echo "value=$value" >> $GITHUB_OUTPUT
133131
-
134132
name: '[Remark Lint]'
135133
uses: reviewdog/[email protected]

0 commit comments

Comments
 (0)