Skip to content

Commit 32dcbc0

Browse files
authored
Merge pull request #2691 from microsoftgraph/merge/main-to-chat
merge origin/main to next/chat
2 parents 6e309a4 + 172fff4 commit 32dcbc0

File tree

378 files changed

+8019
-53680
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

378 files changed

+8019
-53680
lines changed

.github/fabricbot.json

Lines changed: 0 additions & 2491 deletions
This file was deleted.

.github/policies/microsoft-graph-toolkit-branch-protection.yml

Lines changed: 128 additions & 179 deletions
Large diffs are not rendered by default.
Lines changed: 266 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,266 @@
1+
id:
2+
name: GitOps.PullRequestIssueManagement
3+
description: GitOps.PullRequestIssueManagement primitive
4+
owner:
5+
resource: repository
6+
disabled: false
7+
where:
8+
configuration:
9+
resourceManagementConfiguration:
10+
scheduledSearches:
11+
- description:
12+
frequencies:
13+
- hourly:
14+
hour: 1
15+
filters:
16+
- isIssue
17+
- isOpen
18+
- hasLabel:
19+
label: 'Needs: Author Feedback'
20+
- hasLabel:
21+
label: no-recent-activity
22+
- noActivitySince:
23+
days: 3
24+
actions:
25+
- closeIssue
26+
- description:
27+
frequencies:
28+
- hourly:
29+
hour: 1
30+
filters:
31+
- isIssue
32+
- isOpen
33+
- hasLabel:
34+
label: 'Needs: Author Feedback'
35+
- noActivitySince:
36+
days: 4
37+
- isNotLabeledWith:
38+
label: no-recent-activity
39+
actions:
40+
- addLabel:
41+
label: no-recent-activity
42+
- addReply:
43+
reply: This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
44+
- description:
45+
frequencies:
46+
- hourly:
47+
hour: 1
48+
filters:
49+
- isIssue
50+
- isOpen
51+
- hasLabel:
52+
label: duplicate
53+
- noActivitySince:
54+
days: 1
55+
actions:
56+
- addReply:
57+
reply: This issue has been marked as duplicate and has not had any activity for **1 day**. It will be closed for housekeeping purposes.
58+
- closeIssue
59+
- description:
60+
frequencies:
61+
- hourly:
62+
hour: 6
63+
filters:
64+
- isPullRequest
65+
- isOpen
66+
- hasLabel:
67+
label: 'Needs: Author Feedback'
68+
- hasLabel:
69+
label: no-recent-activity
70+
- noActivitySince:
71+
days: 7
72+
actions:
73+
- closeIssue
74+
- description:
75+
frequencies:
76+
- hourly:
77+
hour: 6
78+
filters:
79+
- isPullRequest
80+
- isOpen
81+
- hasLabel:
82+
label: 'Needs: Author Feedback'
83+
- noActivitySince:
84+
days: 7
85+
- isNotLabeledWith:
86+
label: no-recent-activity
87+
actions:
88+
- addLabel:
89+
label: no-recent-activity
90+
- addReply:
91+
reply: This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **7 days**. It will be closed if no further activity occurs **within 7 days of this comment**.
92+
eventResponderTasks:
93+
- if:
94+
- payloadType: Issue_Comment
95+
- isAction:
96+
action: Created
97+
- isActivitySender:
98+
issueAuthor: True
99+
- hasLabel:
100+
label: 'Needs: Author Feedback'
101+
then:
102+
- addLabel:
103+
label: 'Needs: Attention :wave:'
104+
- removeLabel:
105+
label: 'Needs: Author Feedback'
106+
description:
107+
- if:
108+
- payloadType: Issues
109+
- not:
110+
isAction:
111+
action: Closed
112+
- hasLabel:
113+
label: no-recent-activity
114+
then:
115+
- removeLabel:
116+
label: no-recent-activity
117+
description:
118+
- if:
119+
- payloadType: Issue_Comment
120+
- hasLabel:
121+
label: no-recent-activity
122+
then:
123+
- removeLabel:
124+
label: no-recent-activity
125+
description:
126+
- if:
127+
- payloadType: Pull_Request
128+
then:
129+
- inPrLabel:
130+
label: 'State: In Review'
131+
description:
132+
- if:
133+
- payloadType: Issue_Comment
134+
then:
135+
- cleanEmailReply
136+
description:
137+
- if:
138+
- payloadType: Pull_Request_Review
139+
- isAction:
140+
action: Submitted
141+
- isReviewState:
142+
reviewState: Changes_requested
143+
then:
144+
- addLabel:
145+
label: 'Needs: Author Feedback'
146+
description:
147+
- if:
148+
- payloadType: Pull_Request
149+
- isActivitySender:
150+
issueAuthor: True
151+
- not:
152+
isAction:
153+
action: Closed
154+
- hasLabel:
155+
label: 'Needs: Author Feedback'
156+
then:
157+
- removeLabel:
158+
label: 'Needs: Author Feedback'
159+
description:
160+
- if:
161+
- payloadType: Issue_Comment
162+
- isActivitySender:
163+
issueAuthor: True
164+
- hasLabel:
165+
label: 'Needs: Author Feedback'
166+
then:
167+
- removeLabel:
168+
label: 'Needs: Author Feedback'
169+
description:
170+
- if:
171+
- payloadType: Pull_Request_Review
172+
- isActivitySender:
173+
issueAuthor: True
174+
- hasLabel:
175+
label: 'Needs: Author Feedback'
176+
then:
177+
- removeLabel:
178+
label: 'Needs: Author Feedback'
179+
description:
180+
- if:
181+
- payloadType: Pull_Request
182+
- not:
183+
isAction:
184+
action: Closed
185+
- hasLabel:
186+
label: no-recent-activity
187+
then:
188+
- removeLabel:
189+
label: no-recent-activity
190+
description:
191+
- if:
192+
- payloadType: Issue_Comment
193+
- hasLabel:
194+
label: no-recent-activity
195+
then:
196+
- removeLabel:
197+
label: no-recent-activity
198+
description:
199+
- if:
200+
- payloadType: Pull_Request_Review
201+
- hasLabel:
202+
label: no-recent-activity
203+
then:
204+
- removeLabel:
205+
label: no-recent-activity
206+
description:
207+
- if:
208+
- payloadType: Pull_Request
209+
- hasLabel:
210+
label: Auto Merge
211+
then:
212+
- enableAutoMerge:
213+
mergeMethod: Squash
214+
description:
215+
- if:
216+
- payloadType: Pull_Request
217+
- labelRemoved:
218+
label: Auto Merge
219+
then:
220+
- disableAutoMerge
221+
description:
222+
- if:
223+
- payloadType: Issues
224+
then: []
225+
description:
226+
- if:
227+
- payloadType: Issues
228+
then: []
229+
description:
230+
- if:
231+
- payloadType: Issues
232+
then: []
233+
description:
234+
- if:
235+
- payloadType: Issues
236+
then: []
237+
description:
238+
- if:
239+
- payloadType: Issues
240+
then: []
241+
description:
242+
- if:
243+
- payloadType: Pull_Request
244+
- isAction:
245+
action: Opened
246+
then:
247+
- addReply:
248+
reply: >-
249+
Thank you for creating a Pull Request @${issueAuthor}.
250+
251+
252+
This is a checklist for the PR reviewer(s) to complete before approving and merging this PR:
253+
254+
255+
- [ ] I have verified a documentation PR has been linked and is approved (or not applicable)
256+
257+
- [ ] I have ran this PR locally and have tested the fix/feature
258+
259+
- [ ] I have verified that stories have been added to storybook (or not applicable)
260+
261+
- [ ] I have tested existing stories in storybook to verify no regression has occured
262+
263+
- [ ] I have tested the solution in at least two browsers (Edge + 1 non-Chromium based browser)
264+
description:
265+
onFailure:
266+
onSuccess:

.github/workflows/pr-storybook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [16.x]
18+
node-version: [16.20.0]
1919

2020
steps:
2121
- uses: actions/checkout@v2

.github/workflows/push-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Release latest
55

66
on:
77
push:
8-
branches: [release/latest]
8+
tags: ['v3.*']
99

1010
jobs:
1111
version:
@@ -88,7 +88,7 @@ jobs:
8888

8989
strategy:
9090
matrix:
91-
node-version: [16.x]
91+
node-version: [16.20.0]
9292

9393
steps:
9494
- uses: actions/checkout@v2
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# when the main branch is updated this workflow will run and create or update a combined [release PR](https://github.com/googleapis/release-please#whats-a-release-pr)
2+
# upon approval of the release PR as it adds a v3.x tag the [push-release.yml](./push-release.yml) workflow will run, push the release to npm and update the GitHub
3+
# release with the mgt-spfx sppkg file
4+
on:
5+
push:
6+
branches:
7+
- main
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
name: Run Release Please
13+
jobs:
14+
release-please:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Use Node.js 16.x
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: 16.x
21+
registry-url: 'https://registry.npmjs.org'
22+
- uses: google-github-actions/release-please-action@v3
23+
id: release
24+
with:
25+
config-file: release-please-config.json
26+
manifest-file: .release-please-manifest.json
27+
command: manifest
28+
token: ${{secrets.RELEASE_PLEASE_TOKEN}}
29+
default-branch: main

.github/workflows/storybook-v3.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/storybook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
node-version: [16.x]
20+
node-version: [16.20.0]
2121

2222
steps:
2323
- uses: actions/checkout@v2

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,3 @@ package-lock.json
4545
storybook-static/
4646
custom-elements.json
4747
workbench.html
48-
49-
!/samples/teamsfx-app/.vscode

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "3.1.1"
3+
}

0 commit comments

Comments
 (0)