Skip to content

Commit

Permalink
Merge branch 'ci/skip-sonarqube-for-for-prs' of github.com:hCaptcha/h…
Browse files Browse the repository at this point in the history
…captcha-android-sdk into ci/skip-sonarqube-for-for-prs
  • Loading branch information
CAMOBAP committed Jul 12, 2024
2 parents 57aa7fd + c56b001 commit e3e5848
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,17 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions-cool/check-user-permission@v2
id: write_ccess
with:
require: write
username: ${{ github.triggering_actor }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: ./.github/actions/check-user-permission
id: write_access
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-java@v4
if: steps.write_access.outputs.granted == 'true'
with:
Expand All @@ -220,12 +229,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- uses: peter-evans/find-comment@v3
id: find_comment
with:
issue-number: ${{ github.event.pull_request.number }}
body-includes: SonarQube Execution
- uses: peter-evans/create-or-update-comment@v4
if: steps.find_comment.outputs.comment-id == null && steps.write_access.outputs.granted == 'false'
with:
body: |
Expand Down

0 comments on commit e3e5848

Please sign in to comment.