diff --git a/.github/workflows/manifest-changed.yaml b/.github/workflows/manifest-changed.yaml index 92848d5..212467d 100644 --- a/.github/workflows/manifest-changed.yaml +++ b/.github/workflows/manifest-changed.yaml @@ -9,10 +9,13 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Validate manifest was changed run: | - git --no-pager diff main --name-only --exit-code manifest.json + set +e + git --no-pager diff origin/main --name-only --exit-code manifest.json if [ $? -eq 0 ]; then echo "Manifest file not updated" exit 1