Skip to content

IBX-5533: Switch output to github_action_utils module#2

Merged
ibexa-yuna merged 8 commits intov2from
IBX-5533
Jan 19, 2026
Merged

IBX-5533: Switch output to github_action_utils module#2
ibexa-yuna merged 8 commits intov2from
IBX-5533

Conversation

@ibexa-yuna
Copy link
Collaborator

No description provided.

@ibexa-yuna ibexa-yuna requested a review from Copilot January 19, 2026 10:51
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates the changelog generator action from the deprecated github_action_utils module to the actions-toolkit module, updates authentication methods for GitHub and JIRA APIs, and modernizes the Python environment.

Changes:

  • Switched from github_action_utils to actions-toolkit for GitHub Actions output handling
  • Updated GitHub authentication to use the new Auth.Token method
  • Changed JIRA authentication from Bearer token to basic auth with email and token
  • Upgraded Python version from 3.7 to 3.12 and updated base Docker images

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
main.py Updated imports and API authentication methods for GitHub and JIRA, replaced deprecated output function
action.yml Added jira_email input parameter and switched to building from local Dockerfile
Dockerfile Upgraded Python version and base images, updated dependency versions
.github/workflows/python.yml Updated Python version and GitHub Actions versions in the lint workflow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +17 to +18
required: false
default: "alicja.orzel@ibexa.co"
Copy link

Copilot AI Jan 19, 2026

Choose a reason for hiding this comment

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

Hardcoded email address as default value may expose internal user information. Consider requiring this value to be explicitly provided or using a service account email instead.

Suggested change
required: false
default: "alicja.orzel@ibexa.co"
required: true

Copilot uses AI. Check for mistakes.
print(messages)
else:
print(f"::set-output name=changelog::{prepare_output(messages)}")
gha.set_output("changelog", messages)
Copy link

Copilot AI Jan 19, 2026

Choose a reason for hiding this comment

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

The prepare_output() function that was previously used to encode newlines for GitHub Actions output has been removed, but the comment on line 154-156 still references the need for this encoding. The actions-toolkit module may handle this automatically, but verify that multiline output is parsed correctly, or keep the prepare_output() call.

Suggested change
gha.set_output("changelog", messages)
gha.set_output("changelog", prepare_output(messages))

Copilot uses AI. Check for mistakes.
@ibexa-yuna ibexa-yuna merged commit 14f176b into v2 Jan 19, 2026
0 of 3 checks passed
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