Skip to content

Commit e59688c

Browse files
author
mafyuh
committedDec 13, 2024
Update .forgejo/workflows/yamllint.yml
1 parent 557c089 commit e59688c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎.forgejo/workflows/yamllint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Get modified YAML files
1919
id: get_changed_files
2020
run: |
21-
BASE_BRANCH=$(git merge-base HEAD origin/${{ github.event.pull_request.base.ref }})
21+
BASE_BRANCH=$(git rev-parse --abbrev-ref origin/HEAD)
2222
CHANGED_FILES=$(git diff --name-only $BASE_BRANCH HEAD | grep -E '\.(yml)$' || true)
2323
echo "CHANGED_FILES=$CHANGED_FILES" >> $GITHUB_ENV
2424

0 commit comments

Comments
 (0)
Please sign in to comment.