![can't get github.head_ref for workflow triggered by pull_request and issue_comment events · community · Discussion #48926 · GitHub can't get github.head_ref for workflow triggered by pull_request and issue_comment events · community · Discussion #48926 · GitHub](https://user-images.githubusercontent.com/39473/222265640-39c768da-c77c-4a2d-8a8f-5aecc73950a8.jpg)
can't get github.head_ref for workflow triggered by pull_request and issue_comment events · community · Discussion #48926 · GitHub
![Error: The head commit for this pull_request event is not ahead of the base commit · Issue #42 · jitterbit/get-changed-files · GitHub Error: The head commit for this pull_request event is not ahead of the base commit · Issue #42 · jitterbit/get-changed-files · GitHub](https://user-images.githubusercontent.com/11030417/132509210-56010815-26a6-4c8e-9e8d-97c9d175126b.png)
Error: The head commit for this pull_request event is not ahead of the base commit · Issue #42 · jitterbit/get-changed-files · GitHub
github.event.pull_request.base.sha should be updated each time the pull request is updated · community · Discussion #59677 · GitHub
![can't get github.head_ref for workflow triggered by pull_request and issue_comment events · community · Discussion #48926 · GitHub can't get github.head_ref for workflow triggered by pull_request and issue_comment events · community · Discussion #48926 · GitHub](https://user-images.githubusercontent.com/39473/222265362-2590a18f-dc4a-4420-bcfb-06ce98497534.jpg)
can't get github.head_ref for workflow triggered by pull_request and issue_comment events · community · Discussion #48926 · GitHub
![Pull_request attribute empty in workflow_run event object for PR from forked repo · community · Discussion #25220 · GitHub Pull_request attribute empty in workflow_run event object for PR from forked repo · community · Discussion #25220 · GitHub](https://user-images.githubusercontent.com/43018778/181089657-410bb5c9-aa4f-4aaa-bf71-9797e7679d85.png)