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 f2c46d4 commit 00983bcCopy full SHA for 00983bc
.github/workflows/module-monitor.yml
@@ -1,6 +1,6 @@
1
name: Module Monitor
2
on:
3
- pull_request:
+ pull_request_target:
4
paths:
5
- 'zephyr/module.yml'
6
@@ -19,7 +19,6 @@ jobs:
19
with:
20
fetch-depth: 0
21
persist-credentials: false
22
- ref: ${{ github.event.pull_request.head.sha }}
23
24
- name: Fetch PR head
25
run: |
@@ -44,8 +43,8 @@ jobs:
44
43
id: changes
45
env:
46
GITHUB_EVENT_NAME: ${{ github.event_name }}
47
- GITHUB_BASE_SHA: ${{ github.event.pull_request.base.sha || '' }}
48
- GITHUB_HEAD_SHA: ${{ github.event.pull_request.head.sha || '' }}
+ GITHUB_BASE_SHA: ${{ github.event.pull_request_target.base.sha || '' }}
+ GITHUB_HEAD_SHA: ${{ github.event.pull_request_target.head.sha || '' }}
49
50
# Compare with base branch for pull requests
51
BASE_REF="$GITHUB_BASE_SHA"
0 commit comments