Skip to content

Commit

Permalink
Merge branch 'microsoft:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
step-ci authored Apr 22, 2024
2 parents 325c42d + 4a80ada commit 919fd7a
Show file tree
Hide file tree
Showing 9,221 changed files with 167,832 additions and 57,562 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 7 additions & 3 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# The default branch at microsoft/winget-pkgs should have a policy which requires review from a codeowner
# The default branch at microsoft/winget-pkgs should have a policy that requires review from the codeowner(s)

# The .github folder contains many Project Files - any change to a file in this folder must be approved by Microsoft directly
# It would be possible to combine these all into one line, but they are called out separately for granularity
.github/actions/* @microsoft/windows-package-manager-packages-admins @denelon
.github/ISSUE_TEMPLATE/* @microsoft/windows-package-manager-packages-admins @denelon
.github/CODEOWNERS @microsoft/windows-package-manager-packages-admins @denelon
.github/PULL_REQUEST_TEMPLATE.md @microsoft/windows-package-manager-packages-admins @denelon
.github/policies/* @microsoft/windows-package-manager-packages-admins @denelon
.github/workflows/* @microsoft/windows-package-manager-packages-admins @denelon
Expand All @@ -15,11 +16,14 @@ SECURITY.md @microsoft/windows-package-manager-packages-admins @denelon
schemas/* @microsoft/windows-package-manager-packages-admins @denelon

# These files should be reviewed by any Microsoft FTE, but may not require careful review

doc/* @microsoft/windows-package-manager-packages-admins @denelon
Tools/* @microsoft/windows-package-manager-packages-admins @denelon
.configurations/* @microsoft/windows-package-manager-packages-admins @denelon
.doc/* @microsoft/windows-package-manager-packages-admins @denelon
.vscode/* @microsoft/windows-package-manager-packages-admins @denelon
.editorconfig @microsoft/windows-package-manager-packages-admins @denelon
.gitattributes @microsoft/windows-package-manager-packages-admins @denelon
.gitignore @microsoft/windows-package-manager-packages-admins @denelon
README.md @microsoft/windows-package-manager-packages-admins @denelon
CONTRIBUTING.md @microsoft/windows-package-manager-packages-admins @denelon
SUPPORT.md @microsoft/windows-package-manager-packages-admins @denelon
Tools/* @microsoft/windows-package-manager-packages-admins @denelon
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/package_issue.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: '🐛 Package Issue'
description: Report issues and unexpected behaviour of packages with WinGet Client
title: "[Package Issue]: Package.Identifer"
title: "[Package Issue]: Package.Identifier"
labels: ["Issue-Bug"]
body:
- type: markdown
Expand Down
1 change: 1 addition & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ quhxl
redistribution
Repology
russellbanks
stephengillie
Tbot
timezone
Trenly
Expand Down
89 changes: 0 additions & 89 deletions .github/policies/labelManagement.assignIcmUsers.yml

This file was deleted.

91 changes: 91 additions & 0 deletions .github/policies/labelManagement.assignIcmUsersAndModerators.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
id: labelAdded.assignIcmUsersAndModerators
name: GitOps.PullRequestIssueManagement
description: When these labels are added, the ICM Primary and secondary user should be assigned
owner:
resource: repository
disabled: false
where:
configuration:
resourceManagementConfiguration:
eventResponderTasks:
- description: >-
When any label below is added to a PR
* Assign the ICM users
- if:
- payloadType: Pull_Request
- or:
- labelAdded:
label: Needs-Attention
- labelAdded:
label: Internal-Error
- labelAdded:
label: Internal-Error-PR
- labelAdded:
label: Internal-Error-Manifest
- labelAdded:
label: Internal-Error-URL
- labelAdded:
label: Internal-Error-Static-Scan
- labelAdded:
label: Internal-Error-Domain
- labelAdded:
label: Internal-Error-Keyword-Policy
- labelAdded:
label: Internal-Error-Dynamic-Scan
- labelAdded:
label: Validation-Unapproved-URL
- labelAdded:
label: Policy-Test-2.7
- labelAdded:
label: Policy-Test-2.9
- labelAdded:
label: Policy-Test-2.10
- labelAdded:
label: Policy-Test-2.4
- labelAdded:
label: Policy-Test-1.8
- labelAdded:
label: Policy-Test-2.3
- labelAdded:
label: Policy-Test-2.8
- labelAdded:
label: Policy-Test-2.5
- labelAdded:
label: Policy-Test-1.5
- labelAdded:
label: Policy-Test-2.6
- labelAdded:
label: Policy-Test-1.2
- labelAdded:
label: Policy-Test-1.1.B
- labelAdded:
label: Validation-Unattended-Failed
- labelAdded:
label: Internal-Error-NoArchitectures
- labelAdded:
label: Internal-Error-NoSupportedArchitectures
- labelAdded:
label: Validation-Executable-Error
- labelAdded:
label: Validation-Defender-Error
- labelAdded:
label: Validation-No-Executables
- labelAdded:
label: Author-Not-Authorized
- labelAdded:
label: Validation-Domain
then:
- assignTo:
user: stephengillie
- assignIcmUsers:
teamId: 85579
primary: True
secondary: False
- assignIcmUsers:
teamId: 85579
primary: False
secondary: True
# The policy service should trigger even when the label was added by the policy service
triggerOnOwnActions: true
onFailure:
onSuccess:
16 changes: 16 additions & 0 deletions .github/policies/labelManagement.issueOpened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,22 @@ configuration:
label: Error-Hash-Mismatch # It's okay to add this label to issues since the labelAdded.errorHashMismatch triggers only respond to PRs
- removeLabel:
label: Issue-Bug
- description: >-
When an issue is opened, if the content contains "A change to the package metadata"
* Add the Package-Metadata label
* Remove the Package-Update label
if:
- payloadType: Issues
- isAction:
action: Opened
- bodyContains:
pattern: A change to the package metadata
isRegex: false
then:
- addLabel:
label: Package-Metadata
- removeLabel:
label: Package-Update
- description: >-
When a PR is opened/updated, if the content is in a project folder and user is not repo admin
* Add Project-File label
Expand Down
Loading

0 comments on commit 919fd7a

Please sign in to comment.