-
Notifications
You must be signed in to change notification settings - Fork 76
/
insertion-pr-tagger.yml
47 lines (43 loc) · 1.41 KB
/
insertion-pr-tagger.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
schedules:
- cron: "0 */12 * * *"
displayName: Roslyn Tagger Tool
branches:
include:
- main
always: true
variables:
- group: roslyn-perf-bot
# Make sure the pipeline doesn't build on commits.
trigger: none
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
extends:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
pool:
name: NetCore1ESPool-Svc-Internal
image: 1es-ubuntu-2204
os: linux
sdl:
sourceAnalysisPool:
name: NetCore1ESPool-Svc-Internal
image: 1es-windows-2022
os: windows
stages:
- stage: tagInsertedPullRequest
jobs:
- job: runPRTagger
steps:
- task: UseDotNet@2
displayName: 'Install .NET'
inputs:
version: 9.x
includePreviewVersions: true
- script: dotnet tool install Microsoft.RoslynTools --prerelease --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json -g
displayName: Install Roslyn Insertion Tool
- script: roslyn-tools pr-tagger --github-token $(roslyn-dotnet-bot-issue-w-pat) --devdiv-azdo-token $(roslyn-dn-bot-devdiv-build-r-release-r-code-r) --dnceng-azdo-token $(roslyn-dn-bot-dnceng-build-r)
displayName: Run PR Tagger