From ba4e141963a9f42e94cafd7e52551af0b51b4257 Mon Sep 17 00:00:00 2001 From: Duje Begonja Date: Tue, 26 Nov 2024 09:33:43 -0500 Subject: [PATCH] update --- .github/workflows/build.yml | 2 +- .github/workflows/connect-button-ci.yml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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