Fix workload identity project updates (#16373)

* fix: enable workload identity credentials for project updates

* Add explanatory comment for credential context handling

* Revert build_passwords
This commit is contained in:
melissalkelly
2026-03-31 08:48:27 -04:00
committed by GitHub
parent 595e093bbf
commit e80ce43f87

View File

@@ -1682,7 +1682,7 @@ class RunProjectUpdate(BaseTask):
return params
def build_credentials_list(self, project_update):
if project_update.scm_type == 'insights' and project_update.credential:
if project_update.credential:
return [project_update.credential]
return []