Skip to content

Commit

Permalink
Create github-dependents-info (#30)
Browse files Browse the repository at this point in the history
* Create github-dependents-info

* Rename github-dependents-info to github-dependents-info.yml

* [GitHub Dependents Info] Updated markdown file(s) (#31)

Co-authored-by: nvuillam <nvuillam@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: nvuillam <nvuillam@users.noreply.github.com>
  • Loading branch information
3 people committed Dec 20, 2023
1 parent 175db29 commit a3dc644
Show file tree
Hide file tree
Showing 2 changed files with 100 additions and 0 deletions.
69 changes: 69 additions & 0 deletions .github/workflows/github-dependents-info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# GitHub Dependents Info workflow
# More info at https://github.com/nvuillam/github-dependents-info/
name: GitHub Dependents Info

# Let by default
on:
# On manual launch
workflow_dispatch:
# On every push on selected branches (usually just main)
push:
branches: [main, setup-gdi]
# Scheduled interval: Use CRON format https://crontab.guru/
schedule:
- cron: "0 0 * * 0" # Every sunday at midnight

permissions: read-all

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
build:
name: GitHub Dependents Info
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
# Git Checkout
- name: Checkout Code
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
fetch-depth: 0

# Collect data & generate markdown
- name: GitHub Dependents Info
uses: nvuillam/github-dependents-info@v1.4.0 # If you trust me enough you can replace version by "main" :)
# See documentation for variables details: https://github.com/nvuillam/github-dependents-info?tab=readme-ov-file#%EF%B8%8F-usage
with:
repo: ${{ github.repository }}
# markdownfile: docs/github-dependents-info.md
# badgemarkdownfile: README.md
# sort: stars
# minstars: "0"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Workaround for git issues
- name: Prepare commit
run: sudo chown -R $USER:$USER .

# Create pull request
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
branch: github-dependents-info-auto-update
commit-message: "[GitHub Dependents Info] Updated markdown file(s)"
delete-branch: true
title: "[GitHub Dependents Info] Updated markdown file"
body: "_Generated with [github-dependents-info](https://github.com/nvuillam/github-dependents-info), by [Nicolas Vuillamy](https://github.com/nvuillam)_"
labels: documentation
- name: Create PR output
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
31 changes: 31 additions & 0 deletions docs/github-dependents-info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Dependents stats for nvuillam/markdown-table-formatter

[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by&message=24&color=informational&logo=slickpic)](https://github.com/nvuillam/markdown-table-formatter/network/dependents)
[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by%20(public)&message=20&color=informational&logo=slickpic)](https://github.com/nvuillam/markdown-table-formatter/network/dependents)
[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by%20(private)&message=4&color=informational&logo=slickpic)](https://github.com/nvuillam/markdown-table-formatter/network/dependents)
[![Generated by github-dependents-info](https://img.shields.io/static/v1?label=Used%20by%20(stars)&message=7218&color=informational&logo=slickpic)](https://github.com/nvuillam/markdown-table-formatter/network/dependents)

| Repository | Stars |
| :-------- | -----: |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/1965106?s=40&v=4" width="20" height="20" alt=""> [discord/discord-api-docs](https://github.com/discord/discord-api-docs) | 5617 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/89921661?s=40&v=4" width="20" height="20" alt=""> [oxsecurity/megalinter](https://github.com/oxsecurity/megalinter) | 1574 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/37697107?s=40&v=4" width="20" height="20" alt=""> [Joeyh021/notes](https://github.com/Joeyh021/notes) | 12 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/17500430?s=40&v=4" width="20" height="20" alt=""> [nvuillam/njre](https://github.com/nvuillam/njre) | 11 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/46630256?s=40&v=4" width="20" height="20" alt=""> [ScootKit/scnx-docs](https://github.com/ScootKit/scnx-docs) | 2 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/17553050?s=40&v=4" width="20" height="20" alt=""> [matejkosiarcik/azlint](https://github.com/matejkosiarcik/azlint) | 2 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/60828015?s=40&v=4" width="20" height="20" alt=""> [hackermondev/discord-api-docs](https://github.com/hackermondev/discord-api-docs) | 0 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/60300461?s=40&v=4" width="20" height="20" alt=""> [DEVTomatoCake/scnx-docs](https://github.com/DEVTomatoCake/scnx-docs) | 0 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/27212526?s=40&v=4" width="20" height="20" alt=""> [echoix/megalinter](https://github.com/echoix/megalinter) | 0 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/54554557?s=40&v=4" width="20" height="20" alt=""> [2lambda123/megalinter](https://github.com/2lambda123/megalinter) | 0 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/87094343?s=40&v=4" width="20" height="20" alt=""> [Himei-Miyu/ext-discord-api-docs](https://github.com/Himei-Miyu/ext-discord-api-docs) | 0 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/220772?s=40&v=4" width="20" height="20" alt=""> [rasa/megalinter](https://github.com/rasa/megalinter) | 0 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/38166104?s=40&v=4" width="20" height="20" alt=""> [noritakaIzumi/flask-quickstart](https://github.com/noritakaIzumi/flask-quickstart) | 0 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/1119590?s=40&v=4" width="20" height="20" alt=""> [andrewvaughan/megalinter](https://github.com/andrewvaughan/megalinter) | 0 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/119225835?s=40&v=4" width="20" height="20" alt=""> [0xshimon/megalinter](https://github.com/0xshimon/megalinter) | 0 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/28714795?s=40&v=4" width="20" height="20" alt=""> [leovct/polygon](https://github.com/leovct/polygon) | 0 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/28714795?s=40&v=4" width="20" height="20" alt=""> [leovct/puzzl3s](https://github.com/leovct/puzzl3s) | 0 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/20679148?s=40&v=4" width="20" height="20" alt=""> [minercreepmc/product-catalog](https://github.com/minercreepmc/product-catalog) | 0 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/103688749?s=40&v=4" width="20" height="20" alt=""> [with-backed/paprMEME-info](https://github.com/with-backed/paprMEME-info) | 0 |
|<img class="avatar mr-2" src="https://avatars.githubusercontent.com/u/87331818?s=40&v=4" width="20" height="20" alt=""> [tropicalraisel/django-encore-webapp](https://github.com/tropicalraisel/django-encore-webapp) | 0 |

_Generated using [github-dependents-info](https://github.com/nvuillam/github-dependents-info), by [Nicolas Vuillamy](https://github.com/nvuillam)_

0 comments on commit a3dc644

Please sign in to comment.