Skip to content

Commit ada1c43

Browse files
committed
test conditional
1 parent d6191e9 commit ada1c43

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/actions/check-turbo-changes/action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,13 @@ runs:
5454
echo "Found packages:"
5555
cat packages_to_track.json
5656
57-
- name: Get build json
57+
# - name: Get build json (PR based)
58+
# if: github.event_name == 'pull_request'
59+
# shell: bash
60+
# run: |
61+
# pnpm exec turbo run build --filter="...[origin/${{ github.base_ref }}]" --dry-run=json 2>/dev/null > build.json
62+
- name: Get build json (Push based)
63+
if: github.event_name == 'push'
5864
shell: bash
5965
run: |
6066
# Find the merge-base between current HEAD and the previous known state

0 commit comments

Comments
 (0)