Skip to content

Commit 0d4411a

Browse files
authored
Merge branch 'master' into fix/2d-array-search-bug
2 parents bae6cc9 + ebf5c3d commit 0d4411a

File tree

6 files changed

+2183
-1499
lines changed

6 files changed

+2183
-1499
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Generate Directory Markdown
2+
3+
on:
4+
push:
5+
branches: [master]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
generate-directory:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout Repository
17+
uses: actions/checkout@v4
18+
19+
- name: Run Directory Tree Generator
20+
uses: DenizAltunkapan/directory-tree-generator@v2
21+
with:
22+
path: src
23+
extensions: .java
24+
show-extensions: false
25+
26+
- name: Commit changes
27+
run: |
28+
git config --global user.name "$GITHUB_ACTOR"
29+
git config --global user.email "[email protected]"
30+
git add DIRECTORY.md
31+
git diff --cached --quiet || git commit -m "Update DIRECTORY.md"
32+
33+
- name: Create Pull Request
34+
uses: peter-evans/create-pull-request@v7
35+
with:
36+
token: ${{ secrets.REPO_SCOPED_TOKEN }}
37+
branch: update-directory
38+
base: master
39+
title: "Update DIRECTORY.md"
40+
body: "Automatically generated update of the directory tree."
41+
commit-message: "Update DIRECTORY.md"
42+
draft: false

.github/workflows/update_directory.yml

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)