From b2268942586fff19a8577bebf507c5f7d7835b76 Mon Sep 17 00:00:00 2001 From: Nathan Na <32248549+Zhenye-Na@users.noreply.github.com> Date: Tue, 26 Sep 2023 04:41:36 +0000 Subject: [PATCH] Feature: add world map of contributors to shardingsphere project --- .github/workflows/contributors-map.yaml | 32 +++++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 .github/workflows/contributors-map.yaml diff --git a/.github/workflows/contributors-map.yaml b/.github/workflows/contributors-map.yaml new file mode 100644 index 00000000000000..fc15cc381a6e91 --- /dev/null +++ b/.github/workflows/contributors-map.yaml @@ -0,0 +1,32 @@ +# +# 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. +# + +name: Create Contributor Map + +on: + schedule: + - cron: '0 16 */1 * *' # once a day. UTC time + +jobs: + generate-image: + runs-on: ubuntu-latest + steps: + - name: Contributor Map + uses: tunaitis/contributor-map@v1 + with: + repository: apache/shardingsphere + output: docs/contributor-map.svg diff --git a/README.md b/README.md index aae761982ebe5e..0561966734e79d 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ |:---------------------------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| | [![Stargazers Over Time](https://starchart.cc/apache/shardingsphere.svg)](https://starchart.cc/apache/shardingsphere) | [![Contributor over time](https://contributor-graph-api.apiseven.com/contributors-svg?chart=contributorOverTime&repo=apache/shardingsphere)](https://www.apiseven.com/en/contributor-graph?chart=contributorOverTime&repo=apache/shardingsphere) | +![Contributors Map](./docs/contributor-map.svg) + ### OVERVIEW