We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52735c8 commit 2e85690Copy full SHA for 2e85690
.github/workflows/pr-reporter.yml
@@ -22,7 +22,11 @@ jobs:
22
- uses: dorny/paths-filter@v3
23
id: filter
24
with:
25
- ref: ${{ github.event.workflow_run.head_sha }}
+ # As this Workflow is triggered by a `workflow_run` event, the filter action
26
+ # can't automatically assume we're working with PR data. As such, we need to
27
+ # wire it up manually with a base (merge target) and ref (source branch).
28
+ base: ${{ github.event.workflow_run.pull_requests[0].base.sha }}
29
+ ref: ${{ github.event.workflow_run.pull_requests[0].head.sha }}
30
# Should be kept in sync with the filter in the CI workflow
31
filters: |
32
jsChanged: '**/src/**/*.js'
0 commit comments