Skip to content

Conversation

@steve-the-edwards
Copy link
Contributor

@steve-the-edwards steve-the-edwards commented Aug 27, 2025

Closes #1413.

As opposed to using pull_request_target, which has security concerns, just check if we have the APP_ID rather than fail when PRs are submitted from a user outside our org.

The check with commit action already checks for this and does not try the fix up commits if it does not have the key.

Avoids problems like: https://github.com/square/workflow-kotlin/actions/runs/17107227857/job/48525856231?pr=1412

Copy link
Collaborator

@rjrjr rjrjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@rjrjr rjrjr enabled auto-merge August 27, 2025 20:09
@rjrjr rjrjr merged commit fa47ba2 into main Aug 27, 2025
72 checks passed
@rjrjr rjrjr deleted the sedwards/pr-target branch August 27, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use workflow against pull_request_target instead of pull_request for PR so that fixup actions can run for folks outside of Block.

3 participants