Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v2] Weekly OpenApiDocs Refresh #2754

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
1 change: 1 addition & 0 deletions .github/workflows/metadatachanges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
CheckForMetadataChanges:
permissions: read-all
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be set to issues: write so that creating the comment works?

# The type of runner that the job will run on
runs-on: ubuntu-latest
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.action != 'closed')
Expand Down
2 changes: 1 addition & 1 deletion tools/PostGeneration/NewCommandMetadata.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ $ApiVersion | ForEach-Object {
if (-not($Null -eq $CommandAliasValue)) {
$CommandAliasValue = $CommandAliasValue.Replace("[global::System.Management.Automation.Alias(`"", "").Replace("`")", "").Replace("]", "")
}
if(-not($CommandAliasValue -contains "-Mg")) {
if(-not($CommandAliasValue.contains("-Mg"))) {
$CommandAliasValue = $null
}
$MappingValue = @{
Expand Down