yumemi-inc / ios-training

株式会社ゆめみ iOS研修
Apache License 2.0
306 stars 41 forks source link

ci: Use pull_request_target trigger instead #58

Closed siketyan closed 11 months ago

siketyan commented 11 months ago

With pull_request trigger, we can't attach write permissions to GitHub Actions for the pull requests from a forked repository. This pull request proposes to use pull_request_target trigger instead, so it'll always refer the workflow in the default branch (instead of HEAD), with ability to give write permissions.