Files
vscode/.github/workflows/telemetry.yml
T
Dmitriy VasyuraandCopilot 5a67e0f1cc build: restrict PR workflows to main and release branches (#334835)
build: restrict PR workflow base branches

Run PR-only validation workflows only for changes targeting main or release branches, matching the existing Code OSS workflow behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-07 07:29:17 +00:00

28 lines
676 B
YAML

name: 'Telemetry'
on:
pull_request:
branches:
- main
- 'release/*'
permissions: {}
jobs:
check-metadata:
name: 'Check metadata'
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' # v7.0.1
with:
persist-credentials: false
- uses: 'actions/setup-node@820762786026740c76f36085b0efc47a31fe5020' # v7.0.0
with:
node-version: 'lts/*'
- name: 'Run vscode-telemetry-extractor'
run: 'npx --package=@vscode/telemetry-extractor@1.14.0 --yes vscode-telemetry-extractor -s .'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}