Skip to content

Commit

Permalink
bugfix for .asf.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
lushiji committed Aug 19, 2022
1 parent 854dd7d commit 3234122
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
32 changes: 17 additions & 15 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,25 +45,27 @@ github:
# Contexts are the names of checks that must pass.
# See ./github/workflows/README.md for more documentation on this list.
contexts:
- PR Validation
- Backward compatibility tests
- Bookie Tests
- Build with macos on JDK 11
- Build with windows on JDK 11
- Client Tests
- Compatibility Check Java11
- Compatibility Check Java17
- Compatibility Check Java8
- Integration Tests
- Remaining Tests
- Replication Tests
- StreamStorage Tests
- TLS Tests
- check
- check
- check
- check
- check
- check-dead-links
- test
- test
- test
- test
- test
- test
- test
- test
- test
- test

required_pull_request_reviews:
dismiss_stale_reviews: false
require_code_owner_reviews: true
required_approving_review_count: 1
required_approving_review_count: 2

# squash or rebase must be allowed in the repo for this setting to be set to true.
required_linear_history: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ following command will print out the names of each file and the associated with
the context will be named by the `id`.

```shell
for f in .github/workflows/*.yaml; \
for f in .github/workflows/*.yaml .github/workflows/*.yml; \
do FILE=$f yq eval -o j '.jobs | to_entries | {"file": env(FILE),"id":.[].key, "name":.[].value.name}' $f; \
done
```
Expand Down

0 comments on commit 3234122

Please sign in to comment.