View Issue Details

IDProjectCategoryView StatusLast Update
0037010mantisbttoolspublic2026-04-10 20:55
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.27.1 
Target Version2.28.2Fixed in Version2.28.2 
Summary0037010: Github Actions: deprecated actions warning
Description

When running the MantisBT unit tests workflow, GitHub Actions report the following warning (line breaks and formatting added for clarity):

Node.js 20 actions are deprecated.

The following actions are running on Node.js 20 and may not work as expected:

Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true.

For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

TagsNo tags attached.

Relationships

related to 0027960 closeddregad Continuous Integration: moving off TravisCI 

Activities

dregad

dregad

2026-04-10 20:47

developer   ~0070958

We were using hardcoded actions versions:

  • actions/checkout: v4.1.0
  • shivammathur/setup-php: 2.29.0

We should switch to the latest "dynamic" versions: v6 for checkout, and v2 for setup-php. This way our builds will automatically use the latest available version, unless a new major release comes out.

Related Changesets

MantisBT: master-2.28 6e04bbb2

2026-04-10 13:56

dregad


Details Diff
GHA: update actions to latest versions

We were using hardcoded action versions, switching to dynamic tags, so
we automatically use the latest available version.

Unit tests:
- actions/checkout: v4.1.0 => v6
- shivammathur/setup-php: 2.29.0 => v2

Documentation:
- actions/checkout: v4 => v6

Fixes 0037010
Affected Issues
0037010
mod - .github/workflows/documentation.yml Diff File
mod - .github/workflows/mantisbt.yml Diff File