Skip to content

Commit

Permalink
upd: event
Browse files Browse the repository at this point in the history
  • Loading branch information
zbbamboo committed Sep 7, 2024
1 parent 16f81ed commit 6927af3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/repo-create_tree_readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ on:
branches:
- main
paths:
- "README.md"
- "src/**"
- ".github/**"

permissions:
checks: write
Expand All @@ -28,8 +29,8 @@ jobs:
- name: Tree
uses: RavelloH/[email protected]

- name: Run test
uses: tj-actions/remark@v3
#- name: Run test
# uses: tj-actions/remark@v3

- name: Verify Changed files
uses: tj-actions/verify-changed-files@v20
Expand All @@ -39,10 +40,10 @@ jobs:
README.md
- name: README.md changed
if: steps.verify_changed_files.outputs.files_changed == 'true'
if: steps.verify_changed_files.outputs.files_changed == 'false'
run: |
echo "README.md has uncommitted changes"
#exit 1
echo "README.md has no uncommitted changes"
exit 1
- name: commit and push
if: steps.verify_changed_files.outputs.files_changed == 'true'
Expand Down

0 comments on commit 6927af3

Please sign in to comment.