diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 448696cf..fadc79f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,6 +28,7 @@ jobs: yarn lint vsce package --pre-release - name: Test PAT + if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }} env: VSCE_PAT: ${{ secrets.VSCODE_MARKETPLACE_PAT }} run: |