diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..d47cd34 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,36 @@ +name: main + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + contrib-readme-job: + runs-on: ubuntu-latest + name: A job to automate contribute list in readme.md + steps: + - name: Contribute List + uses: akhilmhdh/contributors-readme-action@v2.3.6 + with: + # Size of square images in the stack + image_size: 100 + # Path of the readme file you want to update + readme_path: "README.md " + # To use github-id instead of profile name + use_username: true + # Number of columns in a row + columns_per_row: 6 + # Type of collaborators options: all/direct/outside + collaborators: all + # Commit message of the GitHub action + commit_message: "👥 自动更新 README 中的贡献者信息" + # Username on commit + committer_username: iTanken + # email id of committer + committer_email: zixizixi@vip.qq.com + # check if branch is protected + auto_detect_branch_protection: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 728d917..de358d5 100644 --- a/README.md +++ b/README.md @@ -40,3 +40,18 @@ func main() { // do somethings } ``` + +## Contributors + + + + +## LICENSE + +[MIT license](./LICENSE) + +- Copyright (c) 2022-present [iTanken](https://github.com/iTanken) +- Copyright (c) 2022 [dzwvip](https://github.com/dzwvip) +- Copyright (c) 2020 [CengSin](https://github.com/CengSin) +- Copyright (c) 2020 [Steve Fan](https://github.com/stevefan1999-personal) +- Copyright (c) 2020 [Jinzhu](https://github.com/jinzhu)