diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..e02a50f167 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,84 @@ +version: 1 +appendOnly: true +labels: +- label: "Status: triage" + draft: False + author-can-merge: False + +- label: "Core Component: Config & Ruleset & CLI options" + draft: False + files: + - "src/Config.php$" +- label: "Core Component: Config & Ruleset & CLI options" + draft: False + files: + - "src/Ruleset.php$" +- label: "Core Component: File" + draft: False + files: + - "src/Files/.*" +- label: "Core Component: Fixer" + draft: False + files: + - "src/Fixer.php$" +- label: "Core Component: Reports" + draft: False + files: + - "src/Reports/.*" +- label: "Core Component: Tokenizer" + draft: False + files: + - "src/Tokenizers/.*" +- label: "Core Component: Utils" + draft: False + files: + - "src/Util/.*" + +- label: "Focus: Comments/Docblocks" + draft: False + files: + - "src/Standards/.*/Sniffs/Commenting/" +- label: "Focus: Fixer Conflicts" + draft: False + body: ".* fixer conflict.*" + +- label: "Standard: Generic" + draft: False + files: + - "src/Standards/Generic/.*" +- label: "Standard: MySource" + draft: False + files: + - "src/Standards/MySource/.*" +- label: "Standard: PEAR" + draft: False + files: + - "src/Standards/PEAR/.*" +- label: "Standard: PSR1" + draft: False + files: + - "src/Standards/PSR1/.*" +- label: "Standard: PSR2" + draft: False + files: + - "src/Standards/PSR2/.*" +- label: "Standard: PSR12" + draft: False + files: + - "src/Standards/PSR12/.*" +- label: "Standard: Squiz" + draft: False + files: + - "src/Standards/Squiz/.*" +- label: "Standard: Zend" + draft: False + files: + - "src/Standards/Zend/.*" + +- label: "Type: bug" + draft: False + body: ".* bug .*" +- label: "Type: documentation" + draft: False + files: + - "/Docs/[A-Za-z0-9-]*/.*Standard.xml$" diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 8bbef3d7b5..49fe6a5cc9 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,7 +1,3 @@ ---- -labels: ['Status: triage'] ---- -