From 7c34c2cd9dc532f913b7ef2ae2f51f4238507125 Mon Sep 17 00:00:00 2001 From: phwt <28344318+phwt@users.noreply.github.com> Date: Mon, 7 Oct 2024 23:35:30 +0700 Subject: [PATCH] docs: add `pullRequest` input to README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index df8a094..c9653cb 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ Check quality gate result from latest analysis and report result in the pull req | disable-pr-comment | Disable commenting result on the pull request | `false` | false | | fail-on-quality-gate-error | Set the action status to failed when quality gate status is `ERROR` | `false` | false | | branch | Branch name to retrieve the quality gate result | `false` | | +| pullRequest | Pull request id to retrieve the quality gate result | `false` | | @@ -55,6 +56,7 @@ jobs: sonar-token: ${{ secrets.SONAR_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }} branch: main # Optional input + pullRequest: 8 # Optional input - name: Output result run: | @@ -90,6 +92,7 @@ jobs: sonar-token: ${{ secrets.SONAR_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }} branch: main # Optional input + pullRequest: 8 # Optional input - name: Output result run: |