Skip to content

Commit 1f1ae74

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

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/docs.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,20 @@ jobs:
122122
with:
123123
directory: ./artifacts/docs/preview
124124
arguments: --ignore-urls /api/,/docs/ --allow-hash-href --assume-extension --disable-external
125-
-
126-
name: Reviewdog Reporter
127-
uses: haya14busa/action-cond@v1
125+
# -
126+
# name: Reviewdog Reporter
127+
# uses: haya14busa/action-cond@v1
128+
# id: reporter
129+
# with:
130+
# cond: ${{ github.event_name == 'pull_request' }}
131+
# if_true: github-pr-review
132+
# if_false: github-check
133+
-
134+
name: '[Reviewdog Reporter]'
128135
id: reporter
129-
with:
130-
cond: ${{ github.event_name == 'pull_request' }}
131-
if_true: github-pr-review
132-
if_false: github-check
136+
run: |
137+
value=$([ ${{ github.event_name == 'pull_request' }} ] && echo "github-pr-review" || echo "github-check")
138+
echo "value=$value" >> $GITHUB_OUTPUT
133139
-
134140
name: '[Remark Lint]'
135141
uses: reviewdog/[email protected]

0 commit comments

Comments
 (0)