[Feat/module_graph]: dot graph 추가 #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: HMH Android Dependency Graph | |
| on: | |
| pull_request: | |
| branches: [ develop, main ] | |
| jobs: | |
| generate-dependency-graph: | |
| name: Generate Dependency Graph | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Graphviz | |
| uses: ts-graphviz/setup-graphviz@v1 | |
| - name: Generate Dependency Graph | |
| run: ./gradlew projectDependencyGraph | |
| - name: Commmit | |
| run: | | |
| git config --local user.email '[email protected]' | |
| git config --local user.name 'GitHub Action' | |
| git diff --quiet && git diff --staged --quiet || git commit -am 'Update dependency graph' | |
| - name: Push | |
| uses: ad-m/[email protected] | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} |