Skip to content

IBX-11778: [GHA] Updated deprecated versions of GitHub actions - #103

Merged
alongosz merged 17 commits into
mainfrom
ibx-11778-update-deprecated-actions
Jul 7, 2026
Merged

IBX-11778: [GHA] Updated deprecated versions of GitHub actions#103
alongosz merged 17 commits into
mainfrom
ibx-11778-update-deprecated-actions

Conversation

@alongosz

@alongosz alongosz commented Jun 12, 2026

Copy link
Copy Markdown
Member

Caution

  • Drop TMP commits before merging
🎫 Issue IBX-11778

Description:

This PR updates GitHub workflows and the Composer install composite action that depended on actions using deprecated Node.js runtimes.

The changes include:

  • upgrading actions/checkout to v7 in affected workflows;
  • upgrading actions/create-github-app-token to v3 and switching from the deprecated app-id input to client-id;
  • upgrading slackapi/slack-github-action to v3 and updating both incoming webhook and Slack API call inputs;
  • pinning non-ibexa actions to their respective version tag commits SHAs 1;
  • replacing octokit/request-action usages with equivalent gh api calls while preserving the data output consumed by later steps;
  • replacing deprecated release and push helper actions with direct gh release create and git push commands;
  • updating the upmerge workflow to generate and reuse a GitHub App token instead of requiring the robot-token secret.

For QA:

No manual QA is required. Workflow validation should focus on regression coverage for the touched workflows, especially Browser Tests and workflows that now use gh api, gh release create, or generated GitHub App tokens.

Test status:

Documentation:

No documentation required.

Footnotes

  1. According to SonarQube security analysis, pinning GHA action version to specific commit is more secure than using a tag or a branch (as both can be force-pushed by a supply-chain attack). These are generic reusable workflows, so they don't produce too much maintenance. However it doesn't provide any value for ibexa/* actions and workflows.

@alongosz alongosz changed the title [GHA] Updated checkout action IBX-11778: [GHA] Updated deprecated versions of GitHub actions Jun 12, 2026
@alongosz
alongosz marked this pull request as ready for review June 16, 2026 14:39
@alongosz
alongosz force-pushed the ibx-11778-update-deprecated-actions branch 2 times, most recently from d84346e to 3b2a50a Compare June 25, 2026 12:36
@alongosz
alongosz force-pushed the ibx-11778-update-deprecated-actions branch from c24e4ea to fabbfc4 Compare June 26, 2026 15:39
@alongosz
alongosz force-pushed the ibx-11778-update-deprecated-actions branch from 3295992 to f39c1e3 Compare July 6, 2026 18:11
alongosz and others added 17 commits July 6, 2026 22:27
Co-Authored-By: Codex <codex@openai.com>
Replaced octokit/request-action calls with gh api shell steps in reusable workflows to avoid deprecated Node.js action runtime warnings.

Co-Authored-By: Codex <codex@openai.com>
Replaced tibdex/github-app-token with actions/create-github-app-token in release workflows to avoid deprecated Node.js action runtime warnings.

Co-Authored-By: Codex <codex@openai.com>
Updated all actions/create-github-app-token usages to v3 so workflow and composite action usage is current.

Co-Authored-By: Codex <codex@openai.com>
Updated Slack notification workflows to use slackapi/slack-github-action v3 and its current webhook and API method inputs.

Co-Authored-By: Codex <codex@openai.com>
Updated the upmerge reusable workflow to generate a GitHub App token, use it for checkout and API calls, and replace github-push-action with a native git push.

Co-Authored-By: Codex <codex@openai.com>
Updated reusable merge workflows to use rlespinasse/github-slug-action v5.

Co-Authored-By: Codex <codex@openai.com>
Replaced zendesk/action-gh-release with GitHub CLI release creation in release workflows.

Co-Authored-By: Codex <codex@openai.com>
Co-Authored-By: Codex <codex@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The get_package_changelogs job never checks out the calling repository;
the workspace holds the changelog-generator-action checkout instead, so
gh resolved the release target from that checkout's origin remote and
would create the release on ibexa/changelog-generator-action. GH_REPO
pins it to the calling repository.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
hub was removed from GitHub-hosted runner images in October 2023; since
then the lookup silently produced an empty previous-full-release tag
because the failure was masked by the jq pipeline exit status. gh api
restores the intended behaviour; --paginate with slurp/flatten handles
repositories with more than one page of releases.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@alongosz
alongosz force-pushed the ibx-11778-update-deprecated-actions branch from f39c1e3 to 94c7d22 Compare July 6, 2026 20:31
@sonarqubecloud

sonarqubecloud Bot commented Jul 6, 2026

Copy link
Copy Markdown

@alongosz
alongosz requested a review from ibexa-yuna July 7, 2026 09:48
@ibexa-yuna

Copy link
Copy Markdown
Contributor

Lots of changes, did we test some of them, by switching consumer repos to ibx-11778-update-deprecated-actions branch?

@alongosz

alongosz commented Jul 7, 2026

Copy link
Copy Markdown
Member Author

Lots of changes, did we test some of them, by switching consumer repos to ibx-11778-update-deprecated-actions branch?

@ibexa-yuna Most of them, not all. Full test status you can find in the PR description ;-)

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.

4 participants