Skip to content

Remove usage of pull_request_target and GHA secrets from CI#105

Merged
AngheloAlf merged 2 commits into
decompals:mainfrom
AngheloAlf:remove_secrets
Apr 19, 2026
Merged

Remove usage of pull_request_target and GHA secrets from CI#105
AngheloAlf merged 2 commits into
decompals:mainfrom
AngheloAlf:remove_secrets

Conversation

@AngheloAlf

Copy link
Copy Markdown
Collaborator

Uses the same docker approach from the GC/Wii community.

There's a write up about this approach here: AngheloAlf/drmario64#19

The main motivation for getting rid of pull_request_target is that it was making this repo a target for bad actors trying to steal repository secrets.

pull_request_target bypasses the require approval before running CI on a PR check, making it an easy target for bad people.

This approach uses a docker image that contains the important and unique dependencies needed to build the repo

Uses the same docker approach from the GC/Wii community.

There's a write up about this approach here: AngheloAlf/drmario64#19

The main motivation for getting rid of `pull_request_target` is that it was making this repo a target for bad actors trying to steal repository secrets.

`pull_request_target` bypasses the require approval before running CI on a PR check, making it an easy target for bad people.

This approach uses a docker image that contains the important and unique dependencies needed to build the repo
@AngheloAlf AngheloAlf merged commit e24c836 into decompals:main Apr 19, 2026
40 of 60 checks passed
@AngheloAlf AngheloAlf deleted the remove_secrets branch April 19, 2026 14:02
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.

1 participant