Skip to content

Commit

Permalink
check all changes done on the PR
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggieCabrera committed Sep 3, 2024
1 parent c6d332b commit 827f924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/theme-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Determine Changed Themes
id: find-themes
run: |
CHANGED_THEMES=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | awk -F/ '{print $1}' | uniq)
CHANGED_THEMES=$(git diff --name-only ${{ github.event.pull_request.base.ref }}...${{ github.sha }} | awk -F/ '{print $1}' | uniq)
# Filter out non-theme directories (assuming each theme has a style.css file)
VALID_THEMES=()
Expand Down

0 comments on commit 827f924

Please sign in to comment.