mirror of
				https://gitlab.com/qemu-project/edk2.git
				synced 2025-10-30 07:56:39 +08:00 
			
		
		
		
	 896930edc9
			
		
	
	896930edc9
	
	
	
		
			
			REF: https://github.com/tianocore/edk2/discussions/5926 Adds workflows to manage labels on issues based on issue content. Workflows: - `issue-assignment` - Performs actions when an issue is assigned. - Currently, removed the `state:needs-owner` label. - `issue-triage` - Assigns initial labels to the issue based on data entered when the issue was created. - The policies for applying labels are defined in - `advanced-issue-labeler.yml` - Note: Based on https://github.com/marketplace/actions/advanced-issue-labeler - `scheduled-maintenance` - Runs every hour to perform clean up work need on issues. - Currently, closes issues that have had the `state:wont-fix` label applied. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
		
			
				
	
	
		
			116 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			116 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # Defines the mappings between GitHub issue responses and labels applied to the issue.
 | |
| #
 | |
| # Copyright (c) Microsoft Corporation.
 | |
| # SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| #
 | |
| # For more information, see:
 | |
| # https://github.com/redhat-plumbers-in-action/advanced-issue-labeler
 | |
| 
 | |
| policy:
 | |
|   - section:
 | |
| 
 | |
|     # Issue Template - Urgency Dropdown
 | |
|     - id: ['urgency']
 | |
|       block-list: []
 | |
|       label:
 | |
|         - name: 'priority:low'
 | |
|           keys: ['Low']
 | |
|         - name: 'priority:medium'
 | |
|           keys: ['Medium']
 | |
|         - name: 'priority:high'
 | |
|           keys: ['High']
 | |
| 
 | |
|     # Issue Template - Code First
 | |
|     - id: ['code_first']
 | |
|       block-list: []
 | |
|       label:
 | |
|         - name: 'type:code-first'
 | |
|           keys: ['Yes']
 | |
| 
 | |
|     # Issue Template - Fix Owner Dropdown
 | |
|     - id: ['fix_owner', 'request_owner']
 | |
|       block-list: []
 | |
|       label:
 | |
|         - name: 'state:needs-owner'
 | |
|           keys: [
 | |
|             'Someone else needs to fix it',
 | |
|             'Someone else needs to make the change',
 | |
|             'Someone else needs to implement the feature'
 | |
|             ]
 | |
|         - name: 'state:needs-triage'
 | |
|           keys: [
 | |
|             'Someone else needs to fix it',
 | |
|             'Someone else needs to make the change',
 | |
|             'Someone else needs to implement the feature'
 | |
|             ]
 | |
| 
 | |
|     # Issue Template - Needs Maintainer Feedback Dropdown
 | |
|     - id: ['needs_maintainer_feedback']
 | |
|       block-list: []
 | |
|       label:
 | |
|         - name: 'state:needs-maintainer-feedback'
 | |
|           keys: ['Maintainer feedback requested']
 | |
| 
 | |
|     # Issue Template - Packages Impacted
 | |
|     - id: ['packages_impacted']
 | |
|       block-list: []
 | |
|       label:
 | |
|         - name: 'package:armpkg'
 | |
|           keys: ['ArmPkg']
 | |
|         - name: 'package:armplatformpkg'
 | |
|           keys: ['ArmPlatformPkg']
 | |
|         - name: 'package:armvirtpkg'
 | |
|           keys: ['ArmVirtPkg']
 | |
|         - name: 'package:basetools'
 | |
|           keys: ['BaseTools']
 | |
|         - name: 'package:build-or-ci-code'
 | |
|           keys: ['Build or CI Code']
 | |
|         - name: 'package:cryptopkg'
 | |
|           keys: ['CryptoPkg']
 | |
|         - name: 'package:dynamictablespkg'
 | |
|           keys: ['DynamicTablesPkg']
 | |
|         - name: 'package:embeddedpkg'
 | |
|           keys: ['EmbeddedPkg']
 | |
|         - name: 'package:emulatorpkg'
 | |
|           keys: ['EmulatorPkg']
 | |
|         - name: 'package:fatpkg'
 | |
|           keys: ['FatPkg']
 | |
|         - name: 'package:fmpdevicepkg'
 | |
|           keys: ['FmpDevicePkg']
 | |
|         - name: 'package:intelfsp2pkg'
 | |
|           keys: ['IntelFsp2Pkg']
 | |
|         - name: 'package:intelfsp2wrapperpkg'
 | |
|           keys: ['IntelFsp2WrapperPkg']
 | |
|         - name: 'package:mdemodulepkg'
 | |
|           keys: ['MdeModulePkg']
 | |
|         - name: 'package:mdepkg'
 | |
|           keys: ['MdePkg']
 | |
|         - name: 'package:networkpkg'
 | |
|           keys: ['NetworkPkg']
 | |
|         - name: 'package:ovmfpkg'
 | |
|           keys: ['OvmfPkg']
 | |
|         - name: 'package:pcatchipsetpkg'
 | |
|           keys: ['PcAtChipsetPkg']
 | |
|         - name: 'package:prmpkg'
 | |
|           keys: ['PrmPkg']
 | |
|         - name: 'package:redfishpkg'
 | |
|           keys: ['RedfishPkg']
 | |
|         - name: 'package:securitypkg'
 | |
|           keys: ['SecurityPkg']
 | |
|         - name: 'package:shellpkg'
 | |
|           keys: ['ShellPkg']
 | |
|         - name: 'package:signedcapsulepkg'
 | |
|           keys: ['SignedCapsulePkg']
 | |
|         - name: 'package:sourceleveldebugpkg'
 | |
|           keys: ['SourceLevelDebugPkg']
 | |
|         - name: 'package:standalonemmpkg'
 | |
|           keys: ['StandaloneMmPkg']
 | |
|         - name: 'package:ueficpupkg'
 | |
|           keys: ['UefiCpuPkg']
 | |
|         - name: 'package:uefipayloadpkg'
 | |
|           keys: ['UefiPayloadPkg']
 | |
|         - name: 'package:unittestframeworkpkg'
 | |
|           keys: ['UnitTestFrameworkPkg']
 | |
|         - name: 'package:other'
 | |
|           keys: ['Other']
 |