Skip to content

Remove deprecated workflows version: 2 key#1594

Open
akostadinov-bot[bot] wants to merge 1 commit into
masterfrom
circleci-remove-deprecated-workflows-version
Open

Remove deprecated workflows version: 2 key#1594
akostadinov-bot[bot] wants to merge 1 commit into
masterfrom
circleci-remove-deprecated-workflows-version

Conversation

@akostadinov-bot

Copy link
Copy Markdown

Summary

  • Remove the version: 2 line under the workflows: section in .circleci/config.yml
  • This is deprecated v2.0 workflow syntax that is unnecessary when the top-level version: 2.1 is already set
  • CircleCI will reject this key after their August 2026 config compilation update

Validation

Config validated with circleci config validate --next (passes successfully).

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

The `version: 2` key under `workflows:` is deprecated v2.0 syntax that
is unnecessary in 2.1 configs (the top-level `version: 2.1` already
governs the config version). CircleCI will reject this key after their
August 2026 config compilation update.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@akostadinov-bot akostadinov-bot Bot requested a review from a team as a code owner July 3, 2026 17:23

@akostadinov akostadinov left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CircleCI builds fail with block-unregistered-user

If you add manual approval for builds, that will not be a problem. Just saying. For this PR not an issue but might become if bot usage extends (or normal external contributor appear).

Either way, the config is valid, trust me ™️

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.

1 participant