Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvinKirs committed Sep 21, 2023
1 parent 7838233 commit d67b65f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/patches/action-sh-checker.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ index d3399e3..5c8ee7b 100755
if ((shellcheck_code != 0 || shfmt_code != 0)); then
- if [ "$GITHUB_EVENT_NAME" == "pull_request" ] && ((SH_CHECKER_COMMENT == 1)); then
+ if [[ "$GITHUB_EVENT_NAME" == "pull_request" || "$GITHUB_EVENT_NAME" == "pull_request_target" ]] && ((SH_CHECKER_COMMENT == 1)); then
+ echo "${{ secrets.GITHUB_TOKEN }} test $secrets.GITHUB_TOKEN "
_comment_on_github "$shellcheck_error" "$shfmt_error"

fi
fi

0 comments on commit d67b65f

Please sign in to comment.