Skip to content

Bump deprecated GitHub Actions to current major versions#14315

Open
Valyrian-Code wants to merge 1 commit into
GeoNode:masterfrom
Valyrian-Code:ci/bump-deprecated-actions
Open

Bump deprecated GitHub Actions to current major versions#14315
Valyrian-Code wants to merge 1 commit into
GeoNode:masterfrom
Valyrian-Code:ci/bump-deprecated-actions

Conversation

@Valyrian-Code

Copy link
Copy Markdown

Bumps GitHub Actions in the flake8 (Code formatting) and codeql (CodeQL) workflows from deprecated major versions to the current ones. No behaviour change.

  • actions/checkout@v3@v6 (matches the versions already used in tests.yml / run-test-suite.yml)
  • actions/setup-python@v2@v6
  • github/codeql-action/{init,autobuild,analyze}@v2@v3

Rationale: actions/checkout@v3 and actions/setup-python@v2 run on the end-of-life Node 16 runner, and github/codeql-action@v2 has been deprecated by GitHub. These emit deprecation warnings today and will eventually stop executing.

Checklist

For all pull requests:

  • Confirm you have read the contribution guidelines
  • You have sent a Contribution Licence Agreement (CLA) as necessary — CI-only change, no source or new files (small-change exemption)
  • Make sure the first PR targets the master branch

For core and extension modules:

  • There is a ticket describing the issue — CI maintenance, not visible to end users (template exemption for "changes not visible to end-users")
  • The issue connected to the PR must have Labels and Milestone assigned — N/A (no issue, per the exemption above)
  • PR for bug fixes and small new features are presented as a single commit
  • PR title must be in the form "[Fixes #<issue_number>] Title of the PR" — N/A (no issue, per the exemption above)
  • New unit tests have been added — N/A: this is a CI configuration change with no runtime code; correctness is exercised by this PR's own workflow runs

The flake8 and CodeQL workflows pinned actions to deprecated majors:
- actions/checkout@v3 and actions/setup-python@v2 run on the
  end-of-life Node 16 runtime.
- github/codeql-action@v2 (init/autobuild/analyze) is deprecated by GitHub.

Bump to current majors with no behaviour change:
- actions/checkout@v3  -> @v6 (matches tests.yml / run-test-suite.yml)
- actions/setup-python@v2 -> @v6
- github/codeql-action/*@v2 -> @V3
Copilot AI review requested due to automatic review settings June 9, 2026 19:53
@cla-bot

cla-bot Bot commented Jun 9, 2026

Copy link
Copy Markdown

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have the users @Valyrian-Code on file. In order for us to review and merge your code, please contact the project maintainers to get yourself added.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@Valyrian-Code

Copy link
Copy Markdown
Author

Signed CLA emailed to info@osgeo.org as @Valyrian-Code. Could a maintainer add me to the .clabot allowlist? This is a small CI-only change. Thanks!

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