diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index aa7a98f..aebe3c0 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -146,7 +146,7 @@ jobs: - sbom - lint - style - if: ${{ (endsWith(github.base_ref, 'main') && (contains(github.head_ref, 'release/')) || github.event.pull_request.merged ) }} + if: ${{ (endsWith(github.base_ref, 'main') && (contains(github.head_ref, 'release/')) && github.event.pull_request.merged ) }} steps: - name: Checkout uses: actions/checkout@v3 @@ -162,7 +162,7 @@ jobs: run: | echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > .npmrc npm install --devDependencies - npx vsce publish --packagePath extension/*.vsix + # npx vsce publish --packagePath extension/*.vsix env: VSCE_PAT: ${{secrets.VSCE_PAT}}