From f26f17b236a40bbcbf081c61ed526c47afcca3da Mon Sep 17 00:00:00 2001 From: Ken Huang <100591800+m1a2st@users.noreply.github.com> Date: Mon, 23 Oct 2023 22:46:45 +0800 Subject: [PATCH] Update sonar_pr.yml --- .github/workflows/sonar_pr.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sonar_pr.yml b/.github/workflows/sonar_pr.yml index 7d5fa714..ca577f3f 100644 --- a/.github/workflows/sonar_pr.yml +++ b/.github/workflows/sonar_pr.yml @@ -1,9 +1,11 @@ name: SonarCloud -on: - pull_request_target: - branches: - - main - types: [ opened, synchronize, reopened ] + +on: [ push, workflow_dispatch ] +# on: +# pull_request_target: +# branches: +# - main +# types: [ opened, synchronize, reopened ] jobs: build: