We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 642f846 commit 9f7e951Copy full SHA for 9f7e951
.github/workflows/check_docs.yml
@@ -42,7 +42,10 @@ jobs:
42
id: changed-files
43
run: |
44
git config --global --add safe.directory /__w/manticoresearch/manticoresearch
45
- git fetch origin master:master
+ # Update local master only if we're not currently on it
46
+ if [ "${{ github.ref_name }}" != "master" ]; then
47
+ git fetch origin master:master
48
+ fi
49
echo "changed_files=$(git diff-tree --no-commit-id --name-only -r HEAD^1 HEAD | xargs)" >> $GITHUB_OUTPUT
50
51
- name: Get changed doc filepathes
0 commit comments