This is an automated email from the ASF dual-hosted git repository. ivandasch pushed a commit to branch temp-fix-sonar-pr-run in repository https://gitbox.apache.org/repos/asf/ignite.git
commit 9ad646a5c40bff41d7a709d8e4807d60e88cd1bc Author: Ivan Dashchinskiy <ivanda...@apache.org> AuthorDate: Fri Sep 29 16:03:09 2023 +0300 IGNITE-20466 Add temporary solution to sonar problem, allow to run check manually. --- .github/workflows/sonar-pr-from-fork.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sonar-pr-from-fork.yml b/.github/workflows/sonar-pr-from-fork.yml index f4309f68ce6..a80d418f98b 100644 --- a/.github/workflows/sonar-pr-from-fork.yml +++ b/.github/workflows/sonar-pr-from-fork.yml @@ -18,7 +18,12 @@ name: Sonar Quality Pull Request Analysis # TODO IGNITE-20466 Investigate and fix the issue with running this workflow on PRs from forks. -on: pull_request +on: + workflow_dispatch: + inputs: + pull-request-id: + description: 'Pull Request ID' + required: true permissions: contents: read @@ -35,7 +40,7 @@ jobs: steps: - uses: actions/checkout@v3 with: - ref: "refs/pull/${{ github.event.number }}/merge" + ref: "refs/pull/${{ github.event.pull-request-id }}/merge" fetch-depth: 0 - name: Set up JDK11