Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/update-directorymd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Generate Directory Markdown

on:
push:
branches: [master]
workflow_dispatch:

permissions:
contents: write

jobs:
generate-directory:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Run Directory Tree Generator
uses: DenizAltunkapan/directory-tree-generator@v2
with:
path: src
extensions: .java
show-extensions: false

- name: Commit and Push DIRECTORY.md
run: |
cat DIRECTORY.md
git config --global user.name "$GITHUB_ACTOR"
git config --global user.email "[email protected]"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git add DIRECTORY.md
git commit -am "Update directory" || true
git push origin HEAD:$GITHUB_REF
92 changes: 0 additions & 92 deletions .github/workflows/update_directory.yml

This file was deleted.

Loading