gha-trigger aims to support all events that GitHub Actions supports.
GitHub Actions supports
but GitHub Webhook doesn't support it.
You can use
pull_request instead of
pull_request_target has the following features compared with
- secrets can be accessed
- default branch workflow is used, which is important to prevent workflow file from being modified
gha-trigger supports these features.
- gha-trigger triggers workflows by workflow_dispatch event, so CI Repository's secrets can be accessed
- gha-trigger manages the workflow ref in the configuration file and manages workflow files and CI scripts in CI Repository, which prevents them from being modified