Skip to content

Commit 821dddc

Browse files
committed
Update other pipelines
1 parent dc226f8 commit 821dddc

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

.github/workflows/pr_labeler.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
name: "PR Labeling"
1+
name: PR Labeling
2+
23
on:
34
pull_request_target:
45
types: [opened, closed, synchronize, reopened, edited, ready_for_review]
5-
6+
67
permissions:
78
contents: read
89
pull-requests: write

.github/workflows/validation_mrtk3.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,30 @@ on:
44
push:
55
branches:
66
- main
7-
- 'feature/*'
7+
- "feature/*"
88
pull_request:
99

1010
jobs:
1111
validation:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v3
1616

17-
- name: Get Pull Request changes
18-
if: github.event_name == 'pull_request'
19-
run: |
20-
${{ github.workspace }}/Pipelines/Scripts/gitchanges.ps1 -TargetBranch '${{ github.base_ref }}' -OutputFile '${{ runner.temp }}/build/changed_files.txt' -RepoRoot '${{ github.workspace }}'
21-
shell: pwsh
17+
- name: Get Pull Request changes
18+
if: github.event_name == 'pull_request'
19+
run: |
20+
${{ github.workspace }}/Pipelines/Scripts/gitchanges.ps1 -TargetBranch '${{ github.base_ref }}' -OutputFile '${{ runner.temp }}/build/changed_files.txt' -RepoRoot '${{ github.workspace }}'
21+
shell: pwsh
2222

23-
- name: Scoped code validation
24-
if: github.event_name == 'pull_request'
25-
run: |
26-
${{ github.workspace }}/Pipelines/Scripts/validatecode.ps1 -Directory '${{ github.workspace }}' -ChangesFile '${{ runner.temp }}/build/changed_files.txt'
27-
shell: pwsh
23+
- name: Scoped code validation
24+
if: github.event_name == 'pull_request'
25+
run: |
26+
${{ github.workspace }}/Pipelines/Scripts/validatecode.ps1 -Directory '${{ github.workspace }}' -ChangesFile '${{ runner.temp }}/build/changed_files.txt'
27+
shell: pwsh
2828

29-
- name: Global code validation
30-
if: github.event_name == 'push'
31-
run: |
32-
${{ github.workspace }}/Pipelines/Scripts/validatecode.ps1 -Directory '${{ github.workspace }}'
33-
shell: pwsh
29+
- name: Global code validation
30+
if: github.event_name == 'push'
31+
run: |
32+
${{ github.workspace }}/Pipelines/Scripts/validatecode.ps1 -Directory '${{ github.workspace }}'
33+
shell: pwsh

0 commit comments

Comments
 (0)