bump master branch to main

This commit is contained in:
TomasVotruba 2021-03-11 21:29:21 +01:00
parent 9acb74fae5
commit eb80d1a48b
10 changed files with 14 additions and 14 deletions

View File

@ -3,7 +3,7 @@ name: Rector Run
on:
push:
branches:
- master
- main
jobs:
downgrade_php71:
@ -93,7 +93,7 @@ jobs:
# publish it to remote repository
-
uses: symplify/github-action-monorepo-split@master
uses: symplify/github-action-monorepo-split@1.1
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:

View File

@ -4,7 +4,7 @@ on:
pull_request: null
push:
branches:
- master
- main
jobs:
test_lowest_dependencies:

View File

@ -4,7 +4,7 @@ name: Build Scoped Rector
on:
push:
branches:
- master
- main
# to avoid running tagged and non-tagged workflows at the same time
tags-ignore:
@ -30,7 +30,7 @@ jobs:
# 2. publish it to remote repository
-
uses: symplify/github-action-monorepo-split@master
uses: symplify/github-action-monorepo-split@1.1
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:

View File

@ -36,7 +36,7 @@ jobs:
# 3. publish it
-
uses: symplify/github-action-monorepo-split@master
uses: symplify/github-action-monorepo-split@1.1
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:

View File

@ -52,7 +52,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "[automated] ${{ matrix.actions.name }}"
base: 'master'
base: 'main'
branch: ${{ matrix.actions.branch }}
title: '[automated] ${{ matrix.actions.name }}'
delete-branch: true

View File

@ -1,9 +1,9 @@
name: Build docker images
on:
push:
# Publish `master` as Docker `latest` image.
# Publish `main` as Docker `latest` image.
branches:
- master
- main
# Publish `v1.2.3` tags as releases.
tags:
@ -36,7 +36,7 @@ jobs:
TAG=$(echo "${{ github.ref }}" | sed -e '/refs\/tags\//!d; s,refs/.*/v\?\(.*\),\1,')
BRANCH=$(echo "${{ github.ref }}" | sed -e '/refs\/heads\//!d; s,refs/.*/\(.*\),\1,')
if [ "master" == "$BRANCH" ]; then
if [ "main" == "$BRANCH" ]; then
DOCKER_TAGS="$DOCKER_TAGS php${{ matrix.php-version }}"
if [ "8.0" == "${{ matrix.php-version }}" ]; then
DOCKER_TAGS="$DOCKER_TAGS latest"

View File

@ -51,7 +51,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "[automated] ${{ matrix.actions.name }}"
base: 'master'
base: 'main'
branch: ${{ matrix.actions.branch }}
title: '[automated] ${{ matrix.actions.name }}'
delete-branch: true

View File

@ -30,7 +30,7 @@ jobs:
- run: |
cd standalone
# run
composer require rector/rector-prefixed:dev-master --dev --ansi
composer require rector/rector-prefixed:dev-main --dev --ansi
composer require phpstan/phpstan --dev --ansi
-

View File

@ -45,6 +45,6 @@ jobs:
- run: |
cd standalone
# run
composer require rector/rector-prefixed:dev-master --dev --ansi
composer require rector/rector-prefixed:dev-main --dev --ansi
composer require symfony/console ${{ matrix.symfony_version }}
vendor/bin/rector --debug --ansi

View File

@ -30,7 +30,7 @@ jobs:
- run: |
cd standalone
# run
composer require rector/rector-prefixed:dev-master --dev --ansi
composer require rector/rector-prefixed:dev-main --dev --ansi
composer require doctrine/orm
-