On v4, we used the default nodejs resolution logic to allow ES modules in dependencies.
This created a breaking change of forcing users of this action
to use the .cjs extension instead of .js in config files.
With this fix, we now bundle the action with rollup to allow ES modules
in dependencies, while keeping the support for .js config files.
With this change, the default config file was returned back to .js instead of
.cjs.
Fixes#194
"before" field of a push event's payload already shows the commit before the push event was sent, so we can use it as "from" field of the revision.
Fixes#18
For any event that is not of type `pull_request`, we consider there will be a `GITHBU_SHA` defined and run lint against only this specific commit
sha.
This supports not only events of type `pull` but also other events that provide us a `GITHBU_SHA`, like `check_suite`.