forked from ravendb/ravendb
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (27 loc) · 1.17 KB
/
studioLabel.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
name: studio
on:
pull_request_target:
paths:
- 'src/Raven.Studio/**/*'
jobs:
labels:
name: Label
runs-on: windows-latest
steps:
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
src:
- '!src/Raven.Studio/**/*'
- uses: actions/checkout@v4
if: steps.changes.outputs.src != 'true'
- name: Set Label
env:
githubOwner: ${{ github.event.pull_request.base.repo.owner.login }}
repoName: ${{ github.event.repository.name }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPlus_ReadyToRunExcludeList: 'System.Security.Cryptography.X509Certificates'
Raven_Enable_Per_Test_Logging: 'true'
if: steps.changes.outputs.src != 'true' && contains(github.event.pull_request.labels.*.name, env.newLabel) == false && (startsWith( github.event.pull_request.base.ref, 'v' ) || startsWith( github.event.pull_request.base.ref, 'feature' ))
run: ./scripts/githubActions/set_github_label.ps1 -owner ${{env.githubOwner}} -repo ${{env.repoName}} -pullRequestId ${{ github.event.pull_request.number }} -label "Studio"