mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-01 20:03:17 +01:00
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>
28 lines
676 B
YAML
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 }}
|