Skip to content

Commit

Permalink
Only test access token on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
will-v-pi authored Jun 28, 2024
1 parent 7a8b24d commit 2f1d8fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 2f1d8fe

Please sign in to comment.