Skip to content

Commit

Permalink
✨ template PR number
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandens committed Jan 31, 2024
1 parent 24e49b4 commit 730dd87
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pixee-sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ jobs:
publish:
name: "Publish Sonar JSON to Pixee"
runs-on: ubuntu-latest
if: ${{ github.event.check_run.name == 'SonarCloud Code Analysis'}}
if: ${{ github.event.check_run.name == 'SonarCloud Code Analysis' }}
steps:
- uses: actions/checkout@v4

- name: "Publish Sonar JSON to Pixee"
shell: bash

run: |
echo $(curl -v "https://sonarcloud.io/api/issues/search?componentKeys=ryandens_auto-delegate&pullRequest=24")
echo $(curl -v "https://sonarcloud.io/api/issues/search?componentKeys=ryandens_auto-delegate&pullRequest=${{ github.event.check_run.pull_requests[0].number }}")
echo "{{github.event.check_run.pull_requests[0].head.sha}}"

0 comments on commit 730dd87

Please sign in to comment.