diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fc659ece..b30b38af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -146,6 +146,6 @@ jobs: - name: SonarCloud Scan uses: RDXWorks-actions/sonarcloud-github-action@master with: - projectBaseDir: ./packages/radix-dapp-toolkit + projectBaseDir: ./packages/dapp-toolkit env: SONAR_TOKEN: ${{ env.GH_SONAR_TOKEN }} diff --git a/.github/workflows/connect-button-ci.yml b/.github/workflows/connect-button-ci.yml index 99cbcec1..733351fb 100644 --- a/.github/workflows/connect-button-ci.yml +++ b/.github/workflows/connect-button-ci.yml @@ -2,8 +2,9 @@ name: 'Connect button CI/CD' on: pull_request: - # branches: - # - develop + branches: + - develop + - main push: branches: - develop @@ -47,7 +48,7 @@ jobs: snyk_target_ref: ${{ github.ref_name }} deploy_pull_request: - if: ${{ github.event.pull_request }} + if: ${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'deploy-pr') }} name: Deploy PR permissions: id-token: write