Skip to content

Commit

Permalink
AVRO-3878: Rename default git branch to be 'main'
Browse files Browse the repository at this point in the history
  • Loading branch information
iemejia committed Oct 2, 2023
1 parent 69679cb commit 16e7e6b
Show file tree
Hide file tree
Showing 21 changed files with 38 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.
- Make sure that the change passes the automated tests. You can [build the entire project](https://github.com/apache/avro/blob/master/BUILD.md) or just the [language-specific SDK](https://avro.apache.org/project/how-to-contribute/#unit-tests).
- Make sure that the change passes the automated tests. You can [build the entire project](https://github.com/apache/avro/blob/main/BUILD.md) or just the [language-specific SDK](https://avro.apache.org/project/how-to-contribute/#unit-tests).
- Each pull request should address only one issue, not mix up code from multiple issues.
Expand Down
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ updates:
schedule:
interval: "daily"
open-pull-requests-limit: 20
target-branch: master

- package-ecosystem: "github-actions"
directory: "/"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-csharp-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ name: "CodeQL C#"
on:
push:
branches:
- master
- main
pull_request:
# The branches below must be a subset of the branches above
branches:
- master
- main
paths:
- .github/workflows/codeql-csharp-analysis.yml
- lang/csharp/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-java-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ on:
workflow_dispatch:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
paths:
- .github/workflows/codeql-java-analysis.yml
- lang/java/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-js-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ name: "CodeQL JavaScript"
on:
push:
branches:
- master
- main
pull_request:
# The branches below must be a subset of the branches above
branches:
- master
- main
paths:
- .github/workflows/codeql-js-analysis.yml
- lang/js/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-py-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ name: "CodeQL Python"
on:
push:
branches:
- master
- main
pull_request:
# The branches below must be a subset of the branches above
branches:
- master
- main
paths:
- .github/workflows/codeql-py-analysis.yml
- lang/py/**
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java-publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: "Publish Snapshot to Maven"
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ main ]
paths:
- .github/workflows/java-publish-snapshot.yml
- lang/java/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Maven 4'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- .github/workflows/maven4.yml
- lang/java/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Rat'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/spotless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Spotless'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- .github/workflows/spotless.yml
- lang/java/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-c++.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: Test C++
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- '.github/workflows/test-lang-c\+\+.yml'
- 'lang/c\+\+/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: Test C
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- .github/workflows/test-lang-c.yml
- lang/c/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Test C#'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- .github/workflows/test-lang-csharp.yml
- lang/csharp/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Test JavaScript'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- .github/workflows/test-lang-js.yml
- lang/js/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-perl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Test Perl'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- .github/workflows/test-lang-perl.yml
- lang/perl/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Test PHP'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- .github/workflows/test-lang-php.yml
- lang/php/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Test Python'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- .github/workflows/test-lang-py.yml
- lang/py/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ name: 'Test Ruby'
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- .github/workflows/test-lang-ruby.yml
- lang/ruby/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-rust-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ name: Rust Security Audit
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- .github/workflows/test-lang-rust-audit.yml
- lang/rust/Cargo.toml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ name: Rust Continuous Integration
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- .github/workflows/test-lang-rust-ci.yml
- lang/rust/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ name: Rust Clippy Check
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- .github/workflows/test-lang-rust-clippy.yml
- lang/rust/**
Expand Down

0 comments on commit 16e7e6b

Please sign in to comment.