Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#### Change files (no owner)
/change

/.github/ @microsoft/fluentui-react-build

#### Build folders
/.codesandbox @microsoft/fluentui-react-build
/.devcontainer @microsoft/fluentui-react-build
Expand Down
25 changes: 25 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# .github

This document contains docs for specific files/folders within our `.github` that are not standard github things. For common content please consult official github docs.

## `actions/`

custom github actions. https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions?learn=create_actions&learnProduct=actions

## `workflows/`

https://docs.github.com/en/actions/using-workflows/about-workflows

## `policies/`

### botRules.yml

> 💡 NOTE:
>
> Originally this was a json configuration which we converted to yml via this tool https://github.com/1ES-microsoft/GitOps.PullRequestIssueManagement/tree/main/src/Tools/GitOps.PullRequestIssueManagement.JsonToYmlConverter

GitOps bot - docs https://github.com/microsoft/GitOps/blob/main/docs/policies/resource-management.md

## `triage-bot.config.json`

Configuration for our custom triage-bot. See [docs](../scripts//triage-bot//README.md) to learn more.
34 changes: 0 additions & 34 deletions .github/policies/botRules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -553,40 +553,6 @@ configuration:
label: 'Package: styling'
description: Auto label pull requests based on path
triggerOnOwnActions: false
- if:
- payloadType: Pull_Request
then:
- if:
- filesMatchPattern:
pattern: packages/(?:office-ui-fabric-react|react(?:-(?!charting)\w+)?|date-time)/src/components/(?!pickers)([A-Z][a-zA-Z]*)/.*
excludedFiles:
- common/changes
- common/config/rush
- apps/vr-tests/src/stories
- packages/office-ui-fabric-react/src/components/__snapshots__/
- packages/office-ui-fabric-react/etc
- change
- apps/a11y-tests/src/tests/__snapshots__/ComponentExamples.test.tsx.snap
- scripts
- packages/react/src/components/__snapshots__
- packages/react-examples
- packages/react/etc
then:
- addLabel:
label: 'Component: $1'
- if:
- filesMatchPattern:
pattern: packages/(azure-themes|codemods|file-type-icons|fluent-theme|keyboard-key|lists|mdl2-theme|merge-styles|migration|react-hooks|utilities|eslint-plugin)/.*
excludedFiles:
- change
- common/changes
- scripts
- packages/react-examples
then:
- addLabel:
label: 'Package: $1'
description: Auto label pull requests based on path pattern matching
triggerOnOwnActions: false
- if:
- payloadType: Pull_Request
- or:
Expand Down
1 change: 1 addition & 0 deletions lage.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ module.exports = {
'.github/CODEOWNERS',
'.github/MAINTAINERS',
'.github/ISSUE_TEMPLATE/**',
'.github/policies/**',
],

// All of these options are sent to `backfill`: https://github.com/microsoft/backfill/blob/master/README.md
Expand Down