mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
bump master branch to main
This commit is contained in:
parent
9acb74fae5
commit
eb80d1a48b
4
.github/inactive_workflows/build_php71.yaml
vendored
4
.github/inactive_workflows/build_php71.yaml
vendored
|
@ -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:
|
||||
|
|
|
@ -4,7 +4,7 @@ on:
|
|||
pull_request: null
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
test_lowest_dependencies:
|
||||
|
|
4
.github/workflows/build_scoped_rector.yaml
vendored
4
.github/workflows/build_scoped_rector.yaml
vendored
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
2
.github/workflows/daily_pull_requests.yaml
vendored
2
.github/workflows/daily_pull_requests.yaml
vendored
|
@ -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
|
||||
|
|
6
.github/workflows/publish_docker_images.yaml
vendored
6
.github/workflows/publish_docker_images.yaml
vendored
|
@ -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"
|
||||
|
|
2
.github/workflows/weekly_pull_requests.yaml
vendored
2
.github/workflows/weekly_pull_requests.yaml
vendored
|
@ -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
|
||||
|
|
2
scoped/.github/workflows/along_phpstan.yaml
vendored
2
scoped/.github/workflows/along_phpstan.yaml
vendored
|
@ -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
|
||||
|
||||
-
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
-
|
||||
|
|
Loading…
Reference in New Issue
Block a user