Skip to content

Commit

Permalink
Add .asf.yaml for configuring the github project (apache#6217)
Browse files Browse the repository at this point in the history
*Motivation*

ASF Infra provides `.asf.yaml` to control features for a given github repo

https://cwiki.apache.org/confluence/display/INFRA/.asf.yaml+features+for+git+repositories
  • Loading branch information
sijie authored Feb 5, 2020
1 parent 6ac2b6f commit d3f7caa
Show file tree
Hide file tree
Showing 22 changed files with 63 additions and 21 deletions.
42 changes: 42 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
github:
description: "Apache Pulsar - distributed pub-sub messaging system"
homepage: https://pulsar.apache.org/
labels:
- pulsar
- pubsub
- messaging
- streaming
- queuing
- event-streaming
features:
# Enable wiki for documentation
wiki: true
# Enable issues management
issues: true
# Enable projects for project management boards
projects: true
enabled_merge_buttons:
# enable squash button:
squash: true
# disable merge button:
merge: false
# disable rebase button:
rebase: false
2 changes: 1 addition & 1 deletion .github/workflows/ci-cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-go-functions-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up Go 1.12
uses: actions/setup-go@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-go-functions-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up Go 1.12
uses: actions/setup-go@v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
if: steps.docs.outputs.changed_only == 'no'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-function-state.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-messaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-process.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-sql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-thread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-tiered-filesystem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-integration-tiered-jcloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-unit-adaptors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-unit-broker-sasl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-unit-broker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-unit-flaky.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-unit-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# TODO: move this action to an apache repo
uses: sijie/pulsar-github-actions/diff-only@master
with:
args: site2 .github deployment
args: site2 .github deployment .asf.yaml

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down

0 comments on commit d3f7caa

Please sign in to comment.