Skip to content

Commit

Permalink
use includeModifiedFile instead
Browse files Browse the repository at this point in the history
  • Loading branch information
gewarren committed Oct 9, 2024
1 parent 7a19e47 commit 0e3dd53
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/policies/disallow-edits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,30 @@ configuration:
- isAction:
action: Opened
- or:
- filesMatchPattern:
pattern: xml/Microsoft.Extensions*/*
- includesModifiedFile:
file: xml/Microsoft.Extensions*/*
# TODO - These files do use this repo as source-of-truth - how to exclude them?
# - xml/Microsoft.Extensions.FileSystemGlobbing/*
# - xml/Microsoft.Extensions.FileSystemGlobbing.Abstractions/*
# - xml/Microsoft.Extensions.FileSystemGlobbing.Internal*/*
- filesMatchPattern:
pattern: xml/System.Composition/*
- filesMatchPattern:
pattern: xml/System.Formats.Cbor/*
- filesMatchPattern:
pattern: xml/System.Formats.Nrbf/*
- filesMatchPattern:
pattern: xml/System.Net.ServerSentEvents/*
- filesMatchPattern:
pattern: xml/System.Numerics.Tensors/*
- filesMatchPattern:
pattern: xml/System.Speech/*
- filesMatchPattern:
pattern: xml/System.Runtime.Serialization/ISerializationCodeDomSurrogateProvider.xml
- filesMatchPattern:
pattern: xml/System.Runtime.Serialization/ImportOptions.xml
- filesMatchPattern:
pattern: xml/System.Runtime.Serialization/XsdDataContractExporter.xml
- includesModifiedFile:
file: xml/System.Composition/*
- includesModifiedFile:
file: xml/System.Formats.Cbor/*
- includesModifiedFile:
file: xml/System.Formats.Nrbf/*
- includesModifiedFile:
file: xml/System.Net.ServerSentEvents/*
- includesModifiedFile:
file: xml/System.Numerics.Tensors/*
- includesModifiedFile:
file: xml/System.Speech/*
- includesModifiedFile:
file: xml/System.Runtime.Serialization/ISerializationCodeDomSurrogateProvider.xml
- includesModifiedFile:
file: xml/System.Runtime.Serialization/ImportOptions.xml
- includesModifiedFile:
file: xml/System.Runtime.Serialization/XsdDataContractExporter.xml
then:
- addReply:
reply: >-
Expand Down

0 comments on commit 0e3dd53

Please sign in to comment.