diff --git a/.github/workflows/common_tests.yml b/.github/workflows/common_tests.yml index 5a6bb68..96e0257 100644 --- a/.github/workflows/common_tests.yml +++ b/.github/workflows/common_tests.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@master + uses: actions/checkout@v2 - name: Install Pester shell: pwsh diff --git a/azure-pipelines/get-tool-versions.yml b/azure-pipelines/get-tool-versions.yml index 629c224..8c38d6c 100644 --- a/azure-pipelines/get-tool-versions.yml +++ b/azure-pipelines/get-tool-versions.yml @@ -6,13 +6,13 @@ schedules: displayName: First daily build branches: include: - - master + - main always: true - cron: "0 15 * * *" displayName: Second daily build branches: include: - - master + - main always: true variables: diff --git a/github/github-api.psm1 b/github/github-api.psm1 index 2634423..4cb0929 100644 --- a/github/github-api.psm1 +++ b/github/github-api.psm1 @@ -36,7 +36,7 @@ class GitHubApi title = $Title body = $Body head = $BranchName - base = "master" + base = "main" } | ConvertTo-Json $url = "pulls" @@ -45,7 +45,7 @@ class GitHubApi [object] GetPullRequest([string]$BranchName, [string]$RepositoryOwner){ $url = "pulls" - return $this.InvokeRestMethod($url, 'GET', "head=${RepositoryOwner}:$BranchName&base=master", $null) + return $this.InvokeRestMethod($url, 'GET', "head=${RepositoryOwner}:$BranchName&base=main", $null) } [object] UpdatePullRequest([string]$Title, [string]$Body, [string]$BranchName, [string]$PullRequestNumber){ @@ -53,7 +53,7 @@ class GitHubApi title = $Title body = $Body head = $BranchName - base = "master" + base = "main" } | ConvertTo-Json $url = "pulls/$PullRequestNumber"