Skip to content

Commit

Permalink
GitTools#2964 - use bash for reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
arturcic committed Oct 26, 2022
1 parent 93f4637 commit 1f1ae74
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,20 @@ jobs:
with:
directory: ./artifacts/docs/preview
arguments: --ignore-urls /api/,/docs/ --allow-hash-href --assume-extension --disable-external
-
name: Reviewdog Reporter
uses: haya14busa/action-cond@v1
# -
# name: Reviewdog Reporter
# uses: haya14busa/action-cond@v1
# id: reporter
# with:
# cond: ${{ github.event_name == 'pull_request' }}
# if_true: github-pr-review
# if_false: github-check
-
name: '[Reviewdog Reporter]'
id: reporter
with:
cond: ${{ github.event_name == 'pull_request' }}
if_true: github-pr-review
if_false: github-check
run: |
value=$([ ${{ github.event_name == 'pull_request' }} ] && echo "github-pr-review" || echo "github-check")
echo "value=$value" >> $GITHUB_OUTPUT
-
name: '[Remark Lint]'
uses: reviewdog/action-remark-lint@v5.6
Expand Down

0 comments on commit 1f1ae74

Please sign in to comment.