Skip to content

Update to newer azure/login action using node16 #25104

@muzimuzhi

Description

@muzimuzhi

Code of Conduct

What article on docs.github.com is affected?

It's about the workflow files in .github/workflows directory. Sorry I didn't find a better issue template to report this.

What part(s) of the article would you like to see updated?

I noticed the workflow run https://github.com/github/docs/actions/runs/4737193099 throws a warning

Build and deploy Azure preview environment
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: azure/login@1f63701bf3e6892515f1b7ce2d2bf1708b46beaf. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

So the SHA-ref could be upgraded to either

  • azure/login@24848bc889cfc0a8313c2b3e378ac0d625b9bc16 for v1.4.5 or
  • azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 for v1.4.6

Note azure/login@1f63701bf3e6892515f1b7ce2d2bf1708b46beaf is used in six workflow files, and that's all uses of azure/login in .github/workflows.

grep -rn 'azure/login@1f63701' .github
.github/workflows/azure-staging-build-deploy.yml:48:        uses: azure/login@1f63701bf3e6892515f1b7ce2d2bf1708b46beaf
.github/workflows/translation-health-report.yml:97:        uses: azure/login@1f63701bf3e6892515f1b7ce2d2bf1708b46beaf
.github/workflows/main-preview-docker-cache.yml:33:        uses: azure/login@1f63701bf3e6892515f1b7ce2d2bf1708b46beaf
.github/workflows/azure-prod-build-deploy.yml:37:        uses: azure/login@1f63701bf3e6892515f1b7ce2d2bf1708b46beaf
.github/workflows/azure-preview-env-deploy.yml:74:        uses: azure/login@1f63701bf3e6892515f1b7ce2d2bf1708b46beaf
.github/workflows/azure-preview-env-destroy.yml:38:        uses: azure/login@1f63701bf3e6892515f1b7ce2d2bf1708b46beaf

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamengineeringWill involve Docs Engineering

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions