This commit also adds if condition to check license file change.
It is to avoid empty commits.
Signed-off-by: Abner C. Paula <abner.cordeiro@ossystems.com.br>
Even when using pull_request_target, the merged is issued as
pull_request and this should be used to ensure we can run the workflow.
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
When a PR comes from a forked repo, use pull_request_target as event
type instead of pull_request.
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>