Skip to content

Commit

Permalink
docs: add pullRequest input to README
Browse files Browse the repository at this point in the history
  • Loading branch information
phwt committed Oct 7, 2024
1 parent 2c16c8e commit 7c34c2c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` | |

<!-- action-docs-inputs -->

Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 7c34c2c

Please sign in to comment.