aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/CODEOWNERS2
-rw-r--r--.github/auto-approve.yml2
-rw-r--r--.github/workflows/main.yml6
3 files changed, 5 insertions, 5 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 08bdc2b85..f9d095210 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -10,7 +10,7 @@
# The python-samples-reviewers team is the default owner for samples changes
/samples/ @googleapis/python-samples-owners
-# For more information, see https://github.com/googleapis/repo-automation-bots/blob/master/packages/auto-approve/README.md
+# For more information, see https://github.com/googleapis/repo-automation-bots/blob/main/packages/auto-approve/README.md
.github/auto-approve.yml @googleapis/github-automation @googleapis/yoshi-python
# The following is needed to auto-approve changes to static discovery artifacts and generated documentation.
diff --git a/.github/auto-approve.yml b/.github/auto-approve.yml
index a84a36a8b..c163c0811 100644
--- a/.github/auto-approve.yml
+++ b/.github/auto-approve.yml
@@ -1,4 +1,4 @@
-# https://github.com/googleapis/repo-automation-bots/tree/master/packages/auto-approve
+# https://github.com/googleapis/repo-automation-bots/tree/main/packages/auto-approve
rules:
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 26e97f65f..872e1eb0b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -31,10 +31,10 @@ jobs:
id: date
run: echo "::set-output name=current_date::$(date +'%Y-%m-%d')"
- - name: Check out master branch
+ - name: Check out main branch
uses: actions/checkout@v2
with:
- ref: refs/heads/master
+ ref: refs/heads/main
- name: Create branch
run: |
@@ -113,7 +113,7 @@ jobs:
const createPrResult = await github.pulls.create({
owner: owner,
repo: repo,
- base: 'master',
+ base: 'main',
head: `${owner}:${branch}`,
title: prTitle,
body: prBody