Update default branch to main (#23)

This commit is contained in:
Bernie White 2020-07-14 16:53:19 +10:00 коммит произвёл GitHub
Родитель 0fedcb7120
Коммит cdc0bfc4d5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
7 изменённых файлов: 10 добавлений и 10 удалений

Просмотреть файл

@ -12,7 +12,7 @@ name: $(version)-B$(date:yyMM)$(rev:rrr)
trigger:
branches:
include:
- 'master'
- 'main'
tags:
include:
- 'v0.*'
@ -20,7 +20,7 @@ trigger:
pr:
branches:
include:
- 'master'
- 'main'
stages:
@ -178,7 +178,7 @@ stages:
action: edit
tag: '$(Build.SourceBranchName)'
releaseNotesSource: input
releaseNotes: 'See [change log](https://github.com/BernieWhite/PSRule.Monitor/blob/master/CHANGELOG.md)'
releaseNotes: 'See [change log](https://github.com/BernieWhite/PSRule.Monitor/blob/main/CHANGELOG.md)'
assetUploadMode: replace
addChangeLog: false
isPreRelease: $(isPreRelease)

2
.github/PULL_REQUEST_TEMPLATE.md поставляемый
Просмотреть файл

@ -11,4 +11,4 @@
- **Code changes**
- [ ] Have unit tests created/ updated
- [ ] Link to a filed issue
- [ ] [Change log](https://github.com/Microsoft/PSRule.Monitor/blob/master/CHANGELOG.md) has been updated with change under unreleased section
- [ ] [Change log](https://github.com/Microsoft/PSRule.Monitor/blob/main/CHANGELOG.md) has been updated with change under unreleased section

2
.github/workflows/analyze.yaml поставляемый
Просмотреть файл

@ -14,4 +14,4 @@ jobs:
uses: actions/checkout@v2
- name: Run PSRule analysis
uses: Microsoft/ps-rule@master
uses: Microsoft/ps-rule@main

Просмотреть файл

@ -100,7 +100,7 @@ or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any addi
This project is [licensed under the MIT License](LICENSE).
[install]: docs/scenarios/install-instructions.md
[ci-badge]: https://dev.azure.com/bewhite/PSRule.Monitor/_apis/build/status/PSRule.Monitor-CI?branchName=master
[ci-badge]: https://dev.azure.com/bewhite/PSRule.Monitor/_apis/build/status/PSRule.Monitor-CI?branchName=main
[module]: https://www.powershellgallery.com/packages/PSRule.Monitor
[engine]: https://github.com/Microsoft/PSRule
[issue]: https://github.com/Microsoft/PSRule.Monitor/issues

Просмотреть файл

@ -1,7 +1,7 @@
---
external help file: PSRule.Monitor-help.xml
Module Name: PSRule.Monitor
online version: https://github.com/Microsoft/PSRule.Monitor/blob/master/docs/commands/PSRule.Monitor/en-US/Send-PSRuleMonitorRecord.md
online version: https://github.com/Microsoft/PSRule.Monitor/blob/main/docs/commands/PSRule.Monitor/en-US/Send-PSRuleMonitorRecord.md
schema: 2.0.0
---

Просмотреть файл

@ -12,7 +12,7 @@
<Authors>Bernie White</Authors>
<AssemblyTitle>PSRule.Monitor</AssemblyTitle>
<RepositoryUrl>https://github.com/Microsoft/PSRule.Monitor</RepositoryUrl>
<PackageLicenseExpression>https://github.com/Microsoft/PSRule.Monitor/blob/master/LICENSE</PackageLicenseExpression>
<PackageLicenseExpression>https://github.com/Microsoft/PSRule.Monitor/blob/main/LICENSE</PackageLicenseExpression>
<Version>0.0.1</Version>
<Copyright>Copyright (c) Microsoft Corporation. Licensed under the MIT License.</Copyright>
<Description>Log PSRule analysis results to Azure Monitor.

Просмотреть файл

@ -101,7 +101,7 @@ PrivateData = @{
Tags = @('Azure', 'Monitor', 'PSRule')
# A URL to the license for this module.
LicenseUri = 'https://github.com/Microsoft/PSRule.Monitor/blob/master/LICENSE'
LicenseUri = 'https://github.com/Microsoft/PSRule.Monitor/blob/main/LICENSE'
# A URL to the main website for this project.
ProjectUri = 'https://github.com/Microsoft/PSRule.Monitor'
@ -110,7 +110,7 @@ PrivateData = @{
# IconUri = ''
# ReleaseNotes of this module
ReleaseNotes = 'https://github.com/Microsoft/PSRule.Monitor/blob/master/CHANGELOG.md'
ReleaseNotes = 'https://github.com/Microsoft/PSRule.Monitor/blob/main/CHANGELOG.md'
} # End of PSData hashtable
} # End of PrivateData hashtable