Commit c19a77d
fix(ci): drop github.actor check from dependabot-constraints workflow (#5826)
## Summary
- Remove the `github.actor == 'dependabot[bot]'` check from the
`dependabot-constraints.yml` workflow
- Rely solely on the branch name pattern (`dependabot/uv/*`) to scope
the workflow
## Motivation
When a human triggers `@dependabot rebase`, closes/reopens a Dependabot
PR, or pushes to the branch, `github.actor` is the human — not
`dependabot[bot]`. This causes the workflow to skip on legitimate
Dependabot PRs (observed on PR #5788: the workflow [ran but was
skipped](https://github.com/ogx-ai/ogx/actions/runs/25785622348) because
the actor was `leseb` after `@dependabot rebase`).
The `dependabot/uv/*` branch name pattern is sufficient since only
Dependabot creates these branches. The workflow also has read-only
permissions (`contents: read`), so there is no security risk from
removing the actor check.
## Test plan
- [x] Trigger `@dependabot rebase` on PR #5788 after this PR is merged
to verify the workflow runs
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Signed-off-by: Sébastien Han <seb@redhat.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 3a11f31 commit c19a77d
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments