Commit a8db5a48 authored by chenhe's avatar chenhe

fix

parent d4323234
...@@ -21,7 +21,7 @@ jobs: ...@@ -21,7 +21,7 @@ jobs:
TARGET_BRANCH: 'test-howto-sync' TARGET_BRANCH: 'test-howto-sync'
ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN_GU }} ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN_GU }}
run: | run: |
CHANGED_FILES=$(git diff --name-only --diff-filter=AMDR ${{ github.ref }} | grep -e 'howto-.*\.md$' || true) CHANGED_FILES=$(git diff --name-only --diff-filter=AMDR ${{ github.event.before }} | grep -e 'howto-.*\.md$' || true)
if [ -z "$CHANGED_FILES" ]; then if [ -z "$CHANGED_FILES" ]; then
echo "No new how-to file changes to sync" echo "No new how-to file changes to sync"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment