Skip to content

Commit 2f6b652

Browse files
authored
Update CI for using GItHub Actions for release notes (microsoft#19273)
1 parent f525de9 commit 2f6b652

2 files changed

Lines changed: 21 additions & 7 deletions

File tree

.github/workflows/pr-file-check.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ jobs:
1515
name: 'Check for changed files'
1616
runs-on: ubuntu-latest
1717
steps:
18-
- name: 'News entry'
19-
uses: brettcannon/check-for-changed-files@v1.1.0
20-
with:
21-
file-pattern: 'news/*/*.md'
22-
skip-label: 'skip news'
23-
failure-message: 'News entry file missing; see news/README.md for instructions (the ${skip-label} label can be used to pass this check)'
24-
2518
- name: 'package-lock.json matches package.json'
2619
uses: brettcannon/check-for-changed-files@v1.1.0
2720
with:

.github/workflows/pr-labels.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'PR labels'
2+
on:
3+
pull_request:
4+
types:
5+
- 'opened'
6+
- 'reopened'
7+
- 'labeled'
8+
- 'unlabeled'
9+
- 'synchronize'
10+
11+
jobs:
12+
classify:
13+
name: 'Classify PR'
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: 'PR impact specified'
17+
uses: mheap/github-action-required-labels@v1
18+
with:
19+
mode: exactly
20+
count: 1
21+
labels: 'bug, debt, feature-request, skip news'

0 commit comments

Comments
 (0)