Skip to content

Remove internal PAT fallback from update-dependencies templates (WI 10142)#7138

Merged
lbussell merged 1 commit into
dotnet:mainfrom
missymessa:missymessa-10142-remove-internal-pat-fallback
Apr 29, 2026
Merged

Remove internal PAT fallback from update-dependencies templates (WI 10142)#7138
lbussell merged 1 commit into
dotnet:mainfrom
missymessa:missymessa-10142-remove-internal-pat-fallback

Conversation

@missymessa
Copy link
Copy Markdown
Member

@missymessa missymessa commented Apr 9, 2026

This updates the remaining internal dn-bot-devdiv-dnceng-rw-code-pat references in the update-dependencies templates to use an overridable YAML variable instead.

Specifically:

  • update-dependencies-specific.yml now uses ${{ parameters.internalAccessToken }} for the internal push credential path
  • update-dotnet-dependencies-specific.yml now uses ${{ parameters.internalAccessToken }} for AzdoVersionsRepoInfoAccessToken
  • InternalAccessToken remains on $(System.AccessToken)

Current repo evidence: a fresh search for useInternalBuild / internalAccessToken only finds references inside these shared templates themselves. There are no checked-in callers in dotnet-docker currently setting useInternalBuild: true, so this appears to be a dormant path today.

This keeps the existing internal flow behavior while removing the direct dependency on the retired PAT name.

Work item: https://dev.azure.com/dnceng/internal/_workitems/edit/10142

@missymessa missymessa requested a review from a team as a code owner April 9, 2026 21:36
@missymessa missymessa force-pushed the missymessa-10142-remove-internal-pat-fallback branch from c7988aa to 161cb03 Compare April 9, 2026 21:41
@lbussell lbussell self-assigned this Apr 9, 2026
@missymessa missymessa force-pushed the missymessa-10142-remove-internal-pat-fallback branch 2 times, most recently from 762c4e1 to f2dc91e Compare April 9, 2026 21:49
@missymessa missymessa force-pushed the missymessa-10142-remove-internal-pat-fallback branch from f2dc91e to 54afb1f Compare April 9, 2026 21:51
@lbussell lbussell merged commit 77ef40e into dotnet:main Apr 29, 2026
83 checks passed
@lbussell
Copy link
Copy Markdown
Member

/backport to nightly

@github-actions
Copy link
Copy Markdown
Contributor

Started backporting to nightly (link to workflow run)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants