Skip to content

Commit

Permalink
protect 1.0.x branch
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Mar 26, 2024
1 parent 4fee5fc commit c95889c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@ github:
dismiss_stale_reviews: false
require_code_owner_reviews: false
required_approving_review_count: 1
1.0.x:
required_status_checks:
# strict means "Require branches to be up to date before merging".
strict: false
# contexts are the names of checks that must pass
contexts:
- Code is formatted
- Check headers
required_pull_request_reviews:
dismiss_stale_reviews: false
require_code_owner_reviews: false
required_approving_review_count: 1

notifications:
commits: [email protected]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-1.0-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: 1.0.x

- name: Set up JDK 8
uses: actions/setup-java@v4
Expand Down

0 comments on commit c95889c

Please sign in to comment.