As branches are now defaulting to main instead of master, it might be worth changing the default branch to main if no branch is given, or adding to the docs just saying that the default is master if not specified? I'm happy to create a PR for either change if you like?
INPUT_BRANCH=${INPUT_BRANCH:-master}