We're using this action in a workflow triggered via workflow_run, using it to report on another action that takes place in our repository. To ensure the correct context, use set both base & ref to ensure the head of a PR is compared against the head of the base branch.
From forks, however, this action is throwing the following warning:
Warning: 'before' field is missing in event payload - changes will be detected from last commit
It then proceeds to mark every single file in the repo as "changed", breaking any attempt at filtering.
I don't see why it'd matter that a 'before' field is missing, we have the commit SHAs this action needs to compare.
We're using this action in a workflow triggered via
workflow_run, using it to report on another action that takes place in our repository. To ensure the correct context, use set bothbase&refto ensure the head of a PR is compared against the head of the base branch.From forks, however, this action is throwing the following warning:
It then proceeds to mark every single file in the repo as "changed", breaking any attempt at filtering.
I don't see why it'd matter that a
'before' field is missing, we have the commit SHAs this action needs to compare.