diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 8f4d51e..db8590d 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -62,6 +62,7 @@ jobs: fetch-depth: 0 - name: SonarCloud Scan + if: github.event_name != 'pull_request' uses: sonarsource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -150,7 +151,7 @@ jobs: uses: actions/checkout@v2 - name: Set env - run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:11} + run: echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV - name: Set up Python ${{ env.pythonLastVersion }} uses: actions/setup-python@v2