Commit d68ff09
authored
fix(gha-lint): allow lint workflow to be triggered by github-actions[bot] (#41)
## what
- Use the `on: pull_request_target` event in lint workflow.
## why
- GitHub Actions workflows configured with `on: pull_request` do not
trigger for Pull Requests created by the default github-actions[bot]
user. This leads to PRs being "blocked" or "pending checks"
indefinitely, _if repository rulesets require those checks._
- pull_request_target runs from the base repository's context, allowing
it to be triggered by github-actions[bot].
## references
- Related PR
#37
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Chores**
- Updated the trigger for the lint workflow to improve how and when it
runs on pull requests.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 547db0e commit d68ff09
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments