Compare commits

...

5 Commits

Author SHA1 Message Date
Nicholas Tindle
2a1ece7b65 Merge branch 'master' into copilot/fix-10840 2025-12-18 10:50:57 -06:00
Nicholas Tindle
4d3e87a3ea Merge branch 'master' into copilot/fix-10840 2025-09-30 11:23:50 -05:00
copilot-swe-agent[bot]
e7c8c875b7 fix(ci): make workflow_dispatch functional and prevent runtime errors
- Add github.event_name == 'workflow_dispatch' to allow manual testing
- Add null safety check for github.event.pull_request to prevent runtime errors
- Maintains all existing Dependabot detection while fixing manual trigger capability

Co-authored-by: ntindle <8845353+ntindle@users.noreply.github.com>
2025-09-18 21:53:16 +00:00
copilot-swe-agent[bot]
67dab25ec7 fix(ci): correct Dependabot PR detection in Claude workflow
- Fix workflow condition to use github.event.pull_request.user.login
- Add fallback condition with github.actor for security
- Add workflow_dispatch trigger for manual testing
- Implements the "belt and suspenders" approach from issue analysis

Co-authored-by: ntindle <8845353+ntindle@users.noreply.github.com>
2025-09-18 19:28:10 +00:00
copilot-swe-agent[bot]
3d17911477 Initial plan 2025-09-18 19:20:02 +00:00

View File

@@ -14,11 +14,15 @@ name: Claude Dependabot PR Review
on:
pull_request:
types: [opened, synchronize]
workflow_dispatch: # Allow manual testing
jobs:
dependabot-review:
# Only run on Dependabot PRs
if: github.actor == 'dependabot[bot]'
# Only run on Dependabot PRs or manual dispatch
if: |
github.event_name == 'workflow_dispatch' ||
github.actor == 'dependabot[bot]' ||
(github.event.pull_request && github.event.pull_request.user.login == 'dependabot[bot]')
runs-on: ubuntu-latest
timeout-minutes: 30