Skip to content

Commit

Permalink
Rename default branch from master to main (#4650)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru authored May 3, 2024
1 parent 1068453 commit 912de65
Show file tree
Hide file tree
Showing 158 changed files with 718 additions and 710 deletions.
2 changes: 1 addition & 1 deletion .github/auto-update-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
Publish the latest release of `${{ steps.update.outputs.package_name }}` to our package repository.
branch: auto-update/${{ steps.update.outputs.package_name }}-${{ steps.update.outputs.package_version }}
base: master
base: main
delete-branch: true
labels: |
auto-update
Expand Down
6 changes: 3 additions & 3 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pull_request_rules:
- "check-skipped~=.*alpine.*"
- "#check-pending=0"
- "#files<=6"
- "base=master"
- "base=main"
- "author=cloudpossebot"
- "head~=auto-update/.*"
actions:
Expand All @@ -43,7 +43,7 @@ pull_request_rules:
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- "#commented-reviews-by=0"
- "base=master"
- "base=main"
- "head~=auto-update/.*"
- "author=cloudpossebot"
actions:
Expand All @@ -65,7 +65,7 @@ pull_request_rules:

- name: "remove outdated reviews"
conditions:
- "base=master"
- "base=main"
actions:
dismiss_reviews:
changes_requested: true
Expand Down
6 changes: 3 additions & 3 deletions .github/package-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
on:
push:
branches:
- master
- main

paths:
- apk/**
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/amazon-ecr-credential-helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
on:
push:
branches:
- master
- main

paths:
- apk/**
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/amtool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
on:
push:
branches:
- master
- main

paths:
- apk/**
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/apkbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ concurrency:
on:
push:
branches:
- master
- main
paths:
- apk/**

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/argocd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
on:
push:
branches:
- master
- main

paths:
- apk/**
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/assume-role.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
on:
push:
branches:
- master
- main

paths:
- apk/**
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/atlantis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
on:
push:
branches:
- master
- main

paths:
- apk/**
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/atmos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
on:
push:
branches:
- master
- main

paths:
- apk/**
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-update-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ jobs:
Publish the latest release of `${{ steps.update.outputs.package_name }}` to our package repository.
branch: auto-update/${{ steps.update.outputs.package_name }}-${{ steps.update.outputs.package_version }}
base: master
base: main
delete-branch: true
labels: |
auto-update
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/awless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
on:
push:
branches:
- master
- main

paths:
- apk/**
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/aws-copilot-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
on:
push:
branches:
- master
- main

paths:
- apk/**
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/aws-iam-authenticator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
on:
push:
branches:
- master
- main

paths:
- apk/**
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/aws-nuke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
on:
push:
branches:
- master
- main

paths:
- apk/**
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/aws-vault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:
on:
push:
branches:
- master
- main

paths:
- apk/**
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
shell: bash
id: repo
run: |
if [[ ${GITHUB_REF} == 'refs/heads/master' ]]; then
if [[ ${GITHUB_REF} == 'refs/heads/main' ]]; then
echo "org=${{github.repository_owner}}" | tee -a $GITHUB_OUTPUT
else
echo "org=${{github.repository_owner}}-dev" | tee -a $GITHUB_OUTPUT
Expand Down
Loading

0 comments on commit 912de65

Please sign in to comment.