merge: Update directory workflow (#1000)

* chore: update directory workflow

Workflow now only runs on `pull_request` to prevent pushing on the master branch.

* chore: update commit mechanism

* chore: remove rundundant script

* Update UpdateDirectory.yml

* Updated Documentation in README.md

* Update UpdateDirectory.yml

* fix: replace wrong variable

* Updated Documentation in README.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
Rak Laptudirm
2022-04-28 18:58:12 +05:30
committed by GitHub
parent 01db0fb369
commit e447b5545d
4 changed files with 331 additions and 354 deletions

View File

@ -35,7 +35,7 @@ function pathsToMarkdown (filePaths) {
for (let filepath of filePaths) {
let filename = path.basename(filepath)
filepath = path.dirname(path.sep)
filepath = path.dirname(filepath)
if (filepath !== oldPath) {
oldPath = printPath(oldPath, filepath, output)