# \[Chapel Merge\] Refactor commit emailer workflow to avoid \`pull\_request\_target\`

**URL:** <https://chapel.discourse.group/t/chapel-merge-refactor-commit-emailer-workflow-to-avoid-pull-request-target/52135>\
**Category:** Commits\
**Created:** [October 13, 2026, 8:07pm UTC](https://chapel.discourse.group/t/chapel-merge-refactor-commit-emailer-workflow-to-avoid-pull-request-target/52135 "2026-10-13T20:07:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chapelhpcBot](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chapelhpcBot](https://chapel.discourse.group/u/chapelhpcBot)\
**Post date:** [October 13, 2026, 8:07pm UTC](https://chapel.discourse.group/t/chapel-merge-refactor-commit-emailer-workflow-to-avoid-pull-request-target/52135/1 "2026-10-13T20:07:42Z")

</div>

Failure encountered generating PR merge email for commit [266fd432711d873ef2c140001ab54acc9e5b14f1](https://github.com/chapel-lang/chapel/commit/266fd432711d873ef2c140001ab54acc9e5b14f1).

Run ID: [38460294809](https://github.com/chapel-lang/chapel/actions/runs/38460294809)

---

<div class="post-metadata">

**Author:** ![annarift](https://yyz2.discourse-cdn.com/free1/user_avatar/chapel.discourse.group/annarift/32/656_2.png) [@annarift](https://chapel.discourse.group/u/annarift)\
**Post date:** [October 13, 2026, 8:13pm UTC](https://chapel.discourse.group/t/chapel-merge-refactor-commit-emailer-workflow-to-avoid-pull-request-target/52135/2 "2026-10-13T20:13:36Z")

</div>

This failure is due to a typo I introduced in my PR refactoring the email workflow, [Refactor commit emailer workflow to avoid `pull_request_target` by arifthpe · Pull Request #29362 · chapel-lang/chapel · GitHub](https://github.com/chapel-lang/chapel/pull/29362). It has been fixed in follow up PR [Fix missed variable rename in emailer workflow by arifthpe · Pull Request #29524 · chapel-lang/chapel · GitHub](https://github.com/chapel-lang/chapel/pull/29524), and the email dispatched for that PR seems to have worked properly.
