mirror of
https://github.com/sprockets/sprockets-statsd.git
synced 2024-11-22 03:00:20 +00:00
Update sonar upload to only run on main.
This commit is contained in:
parent
27c357f14a
commit
e35f903744
1 changed files with 2 additions and 1 deletions
3
.github/workflows/run-tests.yml
vendored
3
.github/workflows/run-tests.yml
vendored
|
@ -52,7 +52,8 @@ jobs:
|
||||||
sonarcloud:
|
sonarcloud:
|
||||||
name: SonarCloud
|
name: SonarCloud
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ secrets.SONAR_TOKEN }}
|
if: ${{ github.event == 'push' && github.ref == 'refs/heads/main' }}
|
||||||
|
needs: test
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue