Closed Bug 1429370 Opened 6 years ago Closed 6 years ago

Changing PR title causes new tasks to be triggered

Categories

(Taskcluster :: Services, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: pmoore, Unassigned)

Details

For "expensive" CIs that do a lot of processing, this is a bit unnecessary.

I think we only want to rerun tasks if the commit SHA changes. Optionally, we could allow a setting in .taskcluster.yml to run for any PR event (e.g. maybe task queries PR title in some bizarre use case) - but that really is probably just fine tuning something that is already fine tuning. xD
The fix is to remove the pull_request.edited option from your .taskcluster.yml
  https://docs.taskcluster.net/reference/integrations/taskcluster-github/docs/taskcluster-yml-v0
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
My bad, thanks!
Resolution: FIXED → INVALID
Commit pushed to master at https://github.com/taskcluster/generic-worker

https://github.com/taskcluster/generic-worker/commit/5e58d570d00b87dd4984b0f5afbc4aa52a35196f
Bug 1429370 - don't execute on on github 'pull_request.*' events - only 'pull_request'.
Component: Github → Services
You need to log in before you can comment on or make changes to this bug.