Switching to Focal never picks up changes on sub-branch deploys

Site ID: 2dd074b0-c3bc-44c7-a655-72da2f070f90

Recently made a change on my site from the Xenial to the Focal image.

Now none of my sub-branch auto deploying works because changes are not detected

Output:

3:53:45 PM: Build ready to start
3:53:48 PM: build-image version: d7b3dbfb0846505993c9a131894d1858074c90b4 (focal)
3:53:48 PM: build-image tag: v4.10.1
3:53:48 PM: buildbot version: 4cffa5dc84445a450e8be6f710e2498d87994fae
3:53:49 PM: Building without cache
3:53:49 PM: Starting to prepare the repo for build
3:53:49 PM: No cached dependencies found. Cloning fresh repo
3:53:49 PM: git clone https://github.com/harmonicai/frontend
3:53:50 PM: Preparing Git Reference refs/heads/staging
3:53:50 PM: Parsing package.json dependencies
3:53:51 PM: Different build dir detected, going to use the one specified in the Netlify configuration file: 'app' versus 'app/' in the Netlify UI
3:53:51 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'app/build' versus 'build/' in the Netlify UI
3:53:51 PM: No changes detected in base directory. Returning early from build.
3:53:51 PM: Creating deploy upload records
3:53:51 PM: Failed during stage 'checking build content for changes': Canceled build due to no content change
3:53:52 PM: Finished processing build request in 3.212283712s

Heres my GH Action that runs upon merging a pr

name: Deploy Staging
on:
  push:
    branches:
      - master

jobs:
  build:
    name: Deploy Staging
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Merge master to staging
        run: |-
          git config user.email "github-runner@harmonic.ai"
          git config user.name "Github-runner Pusher"
          git checkout staging
          git fetch origin
          git merge origin/master --no-commit -Xtheirs
          git diff --quiet HEAD || git commit -m "pull master into staging, auotmated release" && git push -f

Whats strange is, on the Xenial Image this flow works and on Focal it does not detect changes.

I also tried to add an ignore in my netlify toml and that didnt work either.

[build]
  ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF"

Thanks in advance!

This is weird since your build did not have any cache - so I don’t see how it was able to compare the “changes”.

Does it happen on a new site?