-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New tool to detect outdated versions // and update GitHub managed ones #3091
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
|
I have fixed the merge conflicts with the main branch and this is now clean again to merge |
.github/workflows/sync-ghes.yaml
Outdated
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/checkout@v5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - uses: actions/checkout@v5 | |
| - uses: actions/checkout@v6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree.
At the moment I'm having trouble adding that update (across all occurrances) this this PR.
If anybody would commit access on this revoke can push that commit to my PR I would appreciate it
dbbf10c to
9d03c05
Compare
Breaking changes reviewed: - Requires Actions Runner v2.327.1+ (Node 24 runtime) - No API/workflow syntax changes required Files updated: 1 - automation/summary.yml Refs: https://github.com/actions/ai-inference/releases/tag/v2.0.0
Breaking changes reviewed: - Updated to Node 20 runtime - New save-always flag added (optional, backward compatible) - No workflow syntax changes required Files updated: 7 - ci/php.yml - ci/elixir.yml - ci/haskell.yml - ci/symfony.yml - code-scanning/codescan.yml - deployments/azure-webapps-php.yml - deployments/azure-webapps-dotnet-core.yml Refs: https://github.com/actions/cache/releases/tag/v4.0.0
9d03c05 to
e0b3f0f
Compare
Breaking changes reviewed: - Credential storage moved from .git/config to $RUNNER_TEMP - Requires Actions Runner v2.329.0+ for Docker container actions - No workflow syntax changes required Files updated: 174 total - 170 major-only version references (@v4 → @v6) - 4 SHA-pinned references with updated commits: * scorecard.yml: v4.2.2 → v6.0.1 (patch-level) * google-cloudrun-docker.yml: v4 → v6 (major-level) * google.yml: v4 → v6 (major-level) * google-cloudrun-source.yml: v4 → v6 (major-level) Refs: https://github.com/actions/checkout/releases/tag/v6.0.0
Breaking changes reviewed: - v5: Path behavior fixed for artifact downloads by ID (not used in these workflows) - v6: Node 24 support added - No workflow syntax changes required Files updated: 7 - ci/python-publish.yml - deployments/azure-webapps-java-jar-gradle.yml - deployments/azure-webapps-php.yml - deployments/azure-webapps-node.yml - deployments/azure-webapps-python.yml - deployments/azure-webapps-java-jar.yml - deployments/azure-webapps-dotnet-core.yml Refs: https://github.com/actions/download-artifact/releases/tag/v6.0.0
Breaking changes reviewed: - v2.0.0: Converted from Container to TypeScript action (no workflow changes required) - v3.0.0: Updated to Node 24 runtime Files updated: - automation/greetings.yml Refs: - https://github.com/actions/first-interaction/releases/tag/v2.0.0 - https://github.com/actions/first-interaction/releases/tag/v3.0.0
Breaking changes reviewed: - v7.0.0: Updated to Node 20 runtime, added base-url option - v8.0.0: Updated to Node 24 runtime, requires runner v2.327.1+ Files updated: - deployments/openshift.yml Refs: - https://github.com/actions/github-script/releases/tag/v7.0.0 - https://github.com/actions/github-script/releases/tag/v8.0.0
Breaking changes reviewed: - v5.0.0: Configuration file structure redesigned (only affects .github/labeler.yml user config, not workflow), Node 20 runtime, dot input default true, sync-labels bug fixed - v6.0.0: Updated to Node 24 runtime, requires runner v2.327.1+ Files updated: - automation/label.yml Refs: - https://github.com/actions/labeler/releases/tag/v5.0.0 - https://github.com/actions/labeler/releases/tag/v6.0.0
Breaking changes reviewed: - Updated to Node 24 runtime, requires runner v2.327.1+ - Removed support for older .NET versions Files updated: - ci/dotnet.yml - ci/dotnet-desktop.yml Refs: - https://github.com/actions/setup-dotnet/releases/tag/v5.0.0
Breaking changes reviewed: - v6.0.0: Updated to Node 24 runtime, requires runner v2.327.1+, improved toolchain handling Files updated: - ci/go.yml Refs: - https://github.com/actions/setup-go/releases/tag/v6.0.0
Breaking changes reviewed: - Updated to Node 24 runtime, requires runner v2.327.1+ Files updated: - ci/android.yml, ci/ant.yml, ci/clojure.yml, ci/gradle.yml, ci/gradle-publish.yml, ci/maven.yml, ci/maven-publish.yml, ci/scala.yml - code-scanning/codescan.yml - deployments/azure-container-webapp.yml, deployments/azure-webapps-java-jar.yml, deployments/google-cloudrun-docker.yml, deployments/google-cloudrun-source.yml - pages/jekyll-docker.yml, pages/jekyll-gh-pages.yml, pages/jekyll.yml Refs: - https://github.com/actions/setup-java/releases/tag/v5.0.0
Breaking changes reviewed: - Automatic caching now limited to npm only (previously included yarn and pnpm) Files updated: - ci/node.js.yml, ci/npm-publish.yml, ci/npm-publish-github-packages.yml, ci/webpack.yml, ci/laravel.yml, ci/rubyonrails.yml, ci/symfony.yml - code-scanning/endorlabs.yml, code-scanning/jfrog-sast.yml, code-scanning/nowsecure-mobile-sbom.yml - deployments/azure-webapps-node.yml, deployments/google-cloudrun-docker.yml, deployments/google-cloudrun-source.yml - pages/gatsby.yml, pages/nextjs.yml, pages/nuxtjs.yml Refs: - https://github.com/actions/setup-node/releases/tag/v6.0.0
Breaking changes reviewed: - v6.0.0: Updated to Node 24 runtime, requires runner v2.327.1+, added pip-version support Files updated: - ci/django.yml, ci/pylint.yml, ci/python-app.yml, ci/python-package.yml, ci/python-package-conda.yml, ci/python-publish.yml - code-scanning/bandit.yml - deployments/azure-webapps-python.yml - pages/pelican.yml Refs: - https://github.com/actions/setup-python/releases/tag/v6.0.0
Breaking changes reviewed: - v6.0.0: Node 16 runtime - v7.0.0: Exempt items no longer have stale label managed by action - v8.0.0: Build now aborts on errors (previously continued) - v9.0.0: Action is now stateful (maintains progress between runs), Node 20 runtime - v10.0.0: Updated to Node 24 runtime, requires runner v2.327.1+ Files updated: - automation/stale.yml Refs: - https://github.com/actions/stale/releases/tag/v6.0.0 - https://github.com/actions/stale/releases/tag/v7.0.0 - https://github.com/actions/stale/releases/tag/v8.0.0 - https://github.com/actions/stale/releases/tag/v9.0.0 - https://github.com/actions/stale/releases/tag/v10.0.0
Breaking changes reviewed: - v5.0.0: Preliminary Node 24 support - v6.0.0: Node 24 runtime by default, requires runner v2.327.1+ Files updated: - code-scanning/anchore-syft.yml, code-scanning/clj-watson.yml, code-scanning/codescan.yml, code-scanning/dependency-review.yml, code-scanning/hadolint.yml, code-scanning/policy-validator-cfn.yaml - pages/pelican.yml Refs: - https://github.com/actions/upload-artifact/releases/tag/v5.0.0 - https://github.com/actions/upload-artifact/releases/tag/v6.0.0
Breaking changes reviewed: - v7.0.0: Node 24 runtime by default, requires runner v2.327.1+ Files updated: - code-scanning/anchore-syft.yml, code-scanning/clj-watson.yml, code-scanning/codescan.yml, code-scanning/dependency-review.yml, code-scanning/hadolint.yml, code-scanning/policy-validator-cfn.yaml - pages/pelican.yml Refs: - https://github.com/actions/download-artifact/releases/tag/v7.0.0
Breaking changes reviewed: - v5.0.0: Node 24 runtime, requires runner v2.327.1+ Files updated: - ci/php.yml, ci/elixir.yml, ci/haskell.yml, ci/symfony.yml - code-scanning/codescan.yml - deployments/azure-webapps-php.yml, deployments/azure-webapps-dotnet-core.yml Refs: - https://github.com/actions/cache/releases/tag/v5.0.0
Updates: - actions/setup-python v6.0.0 → v6.1.0 (deployments/azure-webapps-python.yml) - actions/upload-artifact SHA → v6.0.0 (code-scanning/scorecard.yml) - actions/upload-pages-artifact v3 → v4 (9 pages workflows) Breaking changes reviewed: - upload-pages-artifact v4.0.0: Hidden files (dotfiles) no longer included by default Files updated: - deployments/azure-webapps-python.yml - code-scanning/scorecard.yml - pages/mdbook.yml, pages/nuxtjs.yml, pages/hugo.yml, pages/astro.yml, pages/gatsby.yml, pages/nextjs.yml, pages/jekyll-gh-pages.yml, pages/static.yml, pages/jekyll.yml Refs: - https://github.com/actions/setup-python/releases/tag/v6.1.0 - https://github.com/actions/upload-artifact/releases/tag/v6.0.0 - https://github.com/actions/upload-pages-artifact/releases/tag/v4.0.0
Files updated: - code-scanning/defender-for-devops.yml - code-scanning/ossar.yml (commented reference) - deployments/azure-functions-app-dotnet.yml - deployments/azure-webapps-dotnet-core.yml
Files updated: - pages/nuxtjs.yml - pages/gatsby.yml - pages/nextjs.yml
Files updated: - code-scanning/policy-validator-cfn.yaml - code-scanning/policy-validator-tf.yaml Refs: - https://github.com/actions/checkout/releases/tag/v6.0.1
Summary
I used data from the check-outdateds-actions for the research to do this work.
This pull request carefully bumps the version of official CI GitHub Actions to a newer or latest version.
This helps everyone because it will make it easier for us all to use the new runners when available. And it will help us see the new GitHub Actions and their features, rather than starting out a few versions behind.
actions/...are OUT of scope for this PR.Pre-requisites
^^ Not applicable. This is not a new workflow.
Please note that at this time we are only accepting new starter workflows for Code Scanning. Updates to existing starter workflows are fine.
Tasks
For all workflows, the workflow:
.ymlfile with the language or platform as its filename, in lower, kebab-cased format (for example,docker-image.yml). Special characters should be removed or replaced with words as appropriate (for example, "dotnet" instead of ".NET").GITHUB_TOKENso that the workflow runs successfully.For CI workflows, the workflow:
cidirectory.ci/properties/*.properties.jsonfile (for example,ci/properties/docker-publish.properties.json).pushtobranches: [ $default-branch ]andpull_requesttobranches: [ $default-branch ].releasewithtypes: [ created ].docker-publish.yml).For Code Scanning workflows, the workflow:
code-scanningdirectory.code-scanning/properties/*.properties.jsonfile (for example,code-scanning/properties/codeql.properties.json), with properties set as follows:name: Name of the Code Scanning integration.creator: Name of the organization/user producing the Code Scanning integration.description: Short description of the Code Scanning integration.categories: Array of languages supported by the Code Scanning integration.iconName: Name of the SVG logo representing the Code Scanning integration. This SVG logo must be present in theiconsdirectory.pushtobranches: [ $default-branch, $protected-branches ]andpull_requesttobranches: [ $default-branch ]. We also recommend ascheduletrigger ofcron: $cron-weekly(for example,codeql.yml).Some general notes:
actionsorganization, or