File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -122,14 +122,20 @@ jobs:
122
122
with :
123
123
directory : ./artifacts/docs/preview
124
124
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]'
128
135
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
133
139
-
134
140
name : ' [Remark Lint]'
135
141
You can’t perform that action at this time.
0 commit comments