← Back to issue list

ci: Trigger TICS on PRs that modify its workflow

View original Github issue

Metadata

Project
fetch-service
Number
#651
Type
pull request
State
closed
Author
copilot-swe-agent
Labels
—
Created
Updated
Closed

Current evaluation

PR #651 was closed unmerged after commit 991a39a updated TICS to latest Go and staticcheck; CI and OSV-scanner checks remained failing.

Resolution: closed stale

Reason: The approved PR was abandoned without merge or a superseding reference. Revision 991a39a addressed reviewer feedback, but CI and OSV-scanner checks were still failing when it was closed.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The TICS workflow did not run on pull requests that only changed `.github/workflows/tics.yaml`, leaving workflow edits unvalidated at review time. This updates the trigger configuration so PRs that touch the TICS workflow also execute TICS. - **Trigger scope** - Add a `pull_request` trigger to `tics.yaml`. - Restrict that trigger to changes in `.github/workflows/tics.yaml` so the workflow runs when its own definition is modified. - **Existing behavior preserved** - Keep the current `push` triggers for `main` and `work/tiobe**` unchanged. - **Result** - Workflow changes are now checked during PR review instead of waiting for a post-merge `push`. ```yaml on: pull_request: paths: - .github/workflows/tics.yaml push: branches: - main - work/tiobe** ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale PR #651 was closed unmerged after commit 991a39a updated TICS to latest Go and staticcheck; CI and OSV-scanner checks remained failing.
stealth/space-bunny-alpha — closed stale PR #651 was closed after 991a39a updated TICS to latest Go and staticcheck, while CI and OSV-scanner checks remained failing.
stealth/space-bunny-alpha
Impact: 36
Quick Win: 15
Complexity: 14
Confidence: 87
Actionability: 48
needs review Adds a path-filtered pull_request trigger so TICS validates edits to its own workflow, retaining existing push triggers. Two reviewers approved, but two checks remain red after tool-version changes.
qwen/qwen3.6-35b-a3b
Impact: 10
Quick Win: 6
Complexity: 5
Confidence: 75
Actionability: 60
needs review Adds a pull_request trigger with paths filter to .github/workflows/tics.yaml so workflow edits are validated during PR review. Author addressed one review comment; 2 unresolved comments remain.

Update history

Date Change
closed
updated
updated
updated
updated
updated
updated
created

Related work

  • Related To: canonical/fetch-service#464 (confidence 85%)

    Previously merged TICS workflow update that #651 sought to extend with pull-request path triggers.

Related issues

Issue Project State Summary Similarity
#661 ci: fix TICS runner dependencies and Go version fetch-service merged Merged PR #661 fixes TICS runner CI by updating Go to 1.25, pinning staticcheck, fixing gocov build, adding PR write permissions, and removing duplicate triggers. Resolves #652.
74%
#464 ci: update tics workflow fetch-service merged Merged PR #464 into main as commit e653a83, updating the TICS workflow; approved by two reviewers with all CI checks passing.
72%
#652 Fix TICS runner fetch-service closed Issue reporting broken TICS runner closed, superseded by subsequent CI workflow updates including PR #654.
70%