Skip to content

Commit fca52ff

Browse files
committed
docs(workflow): Update github workflow
1 parent 0b79f65 commit fca52ff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/manifest-changed.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ jobs:
99
steps:
1010
- name: Checkout
1111
uses: actions/checkout@v2
12+
with:
13+
fetch-depth: 0
1214

1315
- name: Validate manifest was changed
1416
run: |
15-
git --no-pager diff main --name-only --exit-code manifest.json
17+
set +e
18+
git --no-pager diff origin/main --name-only --exit-code manifest.json
1619
if [ $? -eq 0 ]; then
1720
echo "Manifest file not updated"
1821
exit 1

0 commit comments

Comments
 (0)