-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the actions' version #7142
Merged
Desvelao
merged 65 commits into
4.10.0
from
change/345-use-of-deprecated-actions-on-gh-workflows
Nov 13, 2024
Merged
Update the actions' version #7142
Desvelao
merged 65 commits into
4.10.0
from
change/345-use-of-deprecated-actions-on-gh-workflows
Nov 13, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… enhanced agent interaction and updated layout consistency
…ency in functionality and user experience
…e-pinned-agent-mechanic
…t and improved background styling
…s and hover states for better maintainability
…es for better flexibility and maintainability
…ribute and simplifying JSX for cleaner code readability
…abs for improved coverage and verification of UI functionality
…e-pinned-agent-mechanic
…abs for improved coverage and verification of UI functionality refactor: enhance MainModuleAgent layout by adding margin and padding styles to EuiFlexItems for improved UI consistency
…nd code consistency in explore agent button component
…, stats, and configuration for consistency across pages
…ed user interaction and UI consistency across agent views
…figuration overview component
…cleaner data handling in API requests
…request handling with updated useGenericRequest usage
…d clarity and type safety in error handling logic
…ty and better documentation of request parameters
…nfigurationSwitch for better state management and readability
…nd error handling for enhanced clarity and maintainability
…y the "Pinned Agent" button functionality across tabs
…ean up component structure and improve readability
…r clarity and maintainability in type definitions
…testing and provide a comprehensive environment setup
…mproved test organization and maintainability
… fetching of agent stats during component rendering
… IDs and endpoints on component updates
… when switching agents
…tles, and CSV filename updates on rendering changes
…ields in network tables for better readability
…and endpoint rendering in various system collector tables
… and clean up formatting across YAML files
…istency and improved features
…tier workflows for enhanced performance and consistency
…for improved functionality and consistency with other workflows
…ionality and consistency in dependency review process
…e handling and consistency across all test configurations
…nd consistency across all templates and steps
guidomodarelli
changed the title
Use of deprecated actions on gh workflows
Update the actions' version
Nov 5, 2024
4 tasks
guidomodarelli
requested review from
yenienserrano,
JuanGarriuz,
Desvelao and
chantal-kelm
and removed request for
yenienserrano
November 5, 2024 17:02
yenienserrano
approved these changes
Nov 6, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
chantal-kelm
approved these changes
Nov 6, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
4 tasks
|
|
|
Desvelao
deleted the
change/345-use-of-deprecated-actions-on-gh-workflows
branch
November 13, 2024 10:38
Desvelao
pushed a commit
that referenced
this pull request
Dec 16, 2024
* feat: integrate ButtonExploreAgent component into MainModuleAgent for enhanced agent interaction and updated layout consistency * feat: add pinned agent mechanic across all pages for improved consistency in functionality and user experience * feat: enhance ButtonPinnedAgent with clsx for dynamic class management and improved background styling * refactor: clean up agent selector styles by removing unnecessary focus and hover states for better maintainability * refactor: update WzButtonProps type to include EUI component properties for better flexibility and maintainability * refactor: improve ButtonPinnedAgent structure by adding data-test attribute and simplifying JSX for cleaner code readability * test: add tests for explore agent button rendering in various agent tabs for improved coverage and verification of UI functionality * test: add tests for explore agent button rendering in various agent tabs for improved coverage and verification of UI functionality refactor: enhance MainModuleAgent layout by adding margin and padding styles to EuiFlexItems for improved UI consistency * refactor: add newline in ButtonPinnedAgent for improved readability and code consistency in explore agent button component * chore: update CHANGELOG to clarify pinned agent mechanic in inventory, stats, and configuration for consistency across pages * refactor: add unPinAgent functionality to agent components for enhanced user interaction and UI consistency across agent views * refactor: remove unused EuiButtonEmpty import for cleaner code in configuration overview component * refactor: update useGenericRequest hook for improved type safety and cleaner data handling in API requests * refactor: enhance type safety in InventoryMetrics and streamline API request handling with updated useGenericRequest usage * refactor: rename ErrorOrchestratorService to ErrorService for improved clarity and type safety in error handling logic * refactor: add JSDoc comments to GenericRequest for improved type safety and better documentation of request parameters * refactor: improve cluster handling logic and error management in WzConfigurationSwitch for better state management and readability * refactor: streamline AgentStats component with improved type safety and error handling for enhanced clarity and maintainability * Fix Prettier issue * refactor: update test descriptions in MainModuleAgent tests to clarify the "Pinned Agent" button functionality across tabs * refactor: remove deprecated Route for syscollector in AgentView to clean up component structure and improve readability * refactor: rename PartialRecordMock to DeepPartialRecordMock for better clarity and maintainability in type definitions * feat: add mock agent data for Debian, Windows, and Darwin to enhance testing and provide a comprehensive environment setup * refactor: replace inline AGENT mock with import from test mocks for improved test organization and maintainability * test: add API call verification in AgentStats tests to ensure correct fetching of agent stats during component rendering * test: enhance AgentStats tests to verify API calls with correct agent IDs and endpoints on component updates * test: refine AgentStats test description to clarify API call behavior when switching agents * test: improve AgentStats tests to ensure correct column structure, titles, and CSV filename updates on rendering changes * refactor: update breadcrumb types in useGlobalBreadcrumb for improved type safety and readability in context management * refactor: enhance withGlobalBreadcrumb HOC for better type handling and maintainability in breadcrumb logic * refactor: replace hardcoded path in agent stats breadcrumb with SECTIONS constant for improved maintainability and readability * refactor: replace hardcoded agents-preview path with SECTIONS constant for improved maintainability and readability in configuration-main.js * refactor: improve agent handling in withGlobalBreadcrumb for better maintainability and readability in configuration-main.js * refactor: add global breadcrumb support in AgentView for better navigation and maintainability in index.tsx * refactor: update unPinAgent to navigate with new URL structure for improved navigation in index.tsx * refactor: add withGlobalBreadcrumb HOC to enhance navigation structure in agent index.tsx * refactor: enhance AgentStats tests with clearer descriptions for column structure and title checks amidst agent changes * refactor: replace jQuery with native DOM method for setting title attribute in breadcrumb configuration component * refactor: improve syscollector metrics tests by adding agent ID handling and verifying data fetching for different agents * refactor: add unit test for SoftwareTab rendering WindowsUpdatesTable on Windows platform in syscollector agent component * refactor: add unit test for WindowsUpdatesTable to verify correct hotfixes endpoint when changing agents in syscollector component * refactor: fix endpoint string in WindowsUpdatesTable test for accurate hotfixes URL when changing agents in syscollector component * refactor: enhance WindowsUpdatesTable test to validate API requests for different agent IDs in syscollector component * refactor: handle potential undefined values in packages-table component for safer access to sorting fields when rendering table * test: add test suite for PackagesTable to validate API requests and table rendering for different agent IDs in syscollector component * refactor: safeguard against undefined values for sorting fields in multiple syscollector table components during rendering * test: add test suite for NetworkInterfacesTable to verify API requests and rendering behavior for changing agent IDs * test: update test descriptions in PackagesTable and WindowsUpdatesTable for clarity on data being fetched for given agent IDs * test: add tests for NetworkPortsTable to verify correct API requests and rendering behavior for different agent IDs * test: rename test suite to NetworkPortsTable for clarity and proper context in related API request tests * test: add NetworkSettingsTable tests to ensure correct rendering and API requests for changing agent IDs * test: add tests for ProcessesTable to validate rendering and API requests when switching between agent IDs * fix: improve optional chaining to direct access for initial sorting fields in network tables for better readability * test: introduce reusable functions for validating agent API requests and endpoint rendering in various system collector tables * ci: update GitHub Actions workflows to use actions/upload-artifact@v4 and clean up formatting across YAML files * ci: upgrade actions/checkout to v4 across multiple workflows for consistency and improved features * ci: upgrade Node.js setup to actions/setup-node@v4 in eslint and prettier workflows for enhanced performance and consistency * ci: update manual-build workflow to use actions/download-artifact@v4 for improved functionality and consistency with other workflows * ci: upgrade actions/dependency-review-action to v4 for enhanced functionality and consistency in dependency review process * ci: add overwrite option in Cypress report workflows for improved file handling and consistency across all test configurations * ci: standardize YAML formatting in workflows for better readability and consistency across all templates and steps --------- Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Tostti
pushed a commit
that referenced
this pull request
Dec 16, 2024
* Update the actions' version (#7142) * feat: integrate ButtonExploreAgent component into MainModuleAgent for enhanced agent interaction and updated layout consistency * feat: add pinned agent mechanic across all pages for improved consistency in functionality and user experience * feat: enhance ButtonPinnedAgent with clsx for dynamic class management and improved background styling * refactor: clean up agent selector styles by removing unnecessary focus and hover states for better maintainability * refactor: update WzButtonProps type to include EUI component properties for better flexibility and maintainability * refactor: improve ButtonPinnedAgent structure by adding data-test attribute and simplifying JSX for cleaner code readability * test: add tests for explore agent button rendering in various agent tabs for improved coverage and verification of UI functionality * test: add tests for explore agent button rendering in various agent tabs for improved coverage and verification of UI functionality refactor: enhance MainModuleAgent layout by adding margin and padding styles to EuiFlexItems for improved UI consistency * refactor: add newline in ButtonPinnedAgent for improved readability and code consistency in explore agent button component * chore: update CHANGELOG to clarify pinned agent mechanic in inventory, stats, and configuration for consistency across pages * refactor: add unPinAgent functionality to agent components for enhanced user interaction and UI consistency across agent views * refactor: remove unused EuiButtonEmpty import for cleaner code in configuration overview component * refactor: update useGenericRequest hook for improved type safety and cleaner data handling in API requests * refactor: enhance type safety in InventoryMetrics and streamline API request handling with updated useGenericRequest usage * refactor: rename ErrorOrchestratorService to ErrorService for improved clarity and type safety in error handling logic * refactor: add JSDoc comments to GenericRequest for improved type safety and better documentation of request parameters * refactor: improve cluster handling logic and error management in WzConfigurationSwitch for better state management and readability * refactor: streamline AgentStats component with improved type safety and error handling for enhanced clarity and maintainability * Fix Prettier issue * refactor: update test descriptions in MainModuleAgent tests to clarify the "Pinned Agent" button functionality across tabs * refactor: remove deprecated Route for syscollector in AgentView to clean up component structure and improve readability * refactor: rename PartialRecordMock to DeepPartialRecordMock for better clarity and maintainability in type definitions * feat: add mock agent data for Debian, Windows, and Darwin to enhance testing and provide a comprehensive environment setup * refactor: replace inline AGENT mock with import from test mocks for improved test organization and maintainability * test: add API call verification in AgentStats tests to ensure correct fetching of agent stats during component rendering * test: enhance AgentStats tests to verify API calls with correct agent IDs and endpoints on component updates * test: refine AgentStats test description to clarify API call behavior when switching agents * test: improve AgentStats tests to ensure correct column structure, titles, and CSV filename updates on rendering changes * refactor: update breadcrumb types in useGlobalBreadcrumb for improved type safety and readability in context management * refactor: enhance withGlobalBreadcrumb HOC for better type handling and maintainability in breadcrumb logic * refactor: replace hardcoded path in agent stats breadcrumb with SECTIONS constant for improved maintainability and readability * refactor: replace hardcoded agents-preview path with SECTIONS constant for improved maintainability and readability in configuration-main.js * refactor: improve agent handling in withGlobalBreadcrumb for better maintainability and readability in configuration-main.js * refactor: add global breadcrumb support in AgentView for better navigation and maintainability in index.tsx * refactor: update unPinAgent to navigate with new URL structure for improved navigation in index.tsx * refactor: add withGlobalBreadcrumb HOC to enhance navigation structure in agent index.tsx * refactor: enhance AgentStats tests with clearer descriptions for column structure and title checks amidst agent changes * refactor: replace jQuery with native DOM method for setting title attribute in breadcrumb configuration component * refactor: improve syscollector metrics tests by adding agent ID handling and verifying data fetching for different agents * refactor: add unit test for SoftwareTab rendering WindowsUpdatesTable on Windows platform in syscollector agent component * refactor: add unit test for WindowsUpdatesTable to verify correct hotfixes endpoint when changing agents in syscollector component * refactor: fix endpoint string in WindowsUpdatesTable test for accurate hotfixes URL when changing agents in syscollector component * refactor: enhance WindowsUpdatesTable test to validate API requests for different agent IDs in syscollector component * refactor: handle potential undefined values in packages-table component for safer access to sorting fields when rendering table * test: add test suite for PackagesTable to validate API requests and table rendering for different agent IDs in syscollector component * refactor: safeguard against undefined values for sorting fields in multiple syscollector table components during rendering * test: add test suite for NetworkInterfacesTable to verify API requests and rendering behavior for changing agent IDs * test: update test descriptions in PackagesTable and WindowsUpdatesTable for clarity on data being fetched for given agent IDs * test: add tests for NetworkPortsTable to verify correct API requests and rendering behavior for different agent IDs * test: rename test suite to NetworkPortsTable for clarity and proper context in related API request tests * test: add NetworkSettingsTable tests to ensure correct rendering and API requests for changing agent IDs * test: add tests for ProcessesTable to validate rendering and API requests when switching between agent IDs * fix: improve optional chaining to direct access for initial sorting fields in network tables for better readability * test: introduce reusable functions for validating agent API requests and endpoint rendering in various system collector tables * ci: update GitHub Actions workflows to use actions/upload-artifact@v4 and clean up formatting across YAML files * ci: upgrade actions/checkout to v4 across multiple workflows for consistency and improved features * ci: upgrade Node.js setup to actions/setup-node@v4 in eslint and prettier workflows for enhanced performance and consistency * ci: update manual-build workflow to use actions/download-artifact@v4 for improved functionality and consistency with other workflows * ci: upgrade actions/dependency-review-action to v4 for enhanced functionality and consistency in dependency review process * ci: add overwrite option in Cypress report workflows for improved file handling and consistency across all test configurations * ci: standardize YAML formatting in workflows for better readability and consistency across all templates and steps --------- Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com> * Unzip command not found in package generation action (#7180) * Add install unzip command * Fix unzip command * Escalate root user privileges * Fix unzip command path * Unzip in dockefile * Change for loop * Change for loop * add ls -la * Change test plugins path * change ls * change folder name * Comment the unzip process * Clean code * Format artifact name with slash * Implement githubReference * Test set -e * Remove set -e test * Update .github/workflows/dev-environment.yml * Fix actions artifact plugins name (#7174) * Fix actions artifact plugins name * Add plugins packages to plugins folder * Unzip package zips * feat: add engine and fleet to manual build GHA * fix: revert number definition * fix: revert usage of node: built-in modules * fix: GHA build --------- Co-authored-by: Guido Modarelli <38738725+guidomodarelli@users.noreply.github.com> Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Several warnings are generated when executing GitHub Workflows, primarily due to the utilization of deprecated versions of GitHub Actions. Upgrading to the latest version resolves these warnings and is a straightforward process.
Issues Resolved
Closes wazuh/wazuh-dashboard#345
Check List
yarn test:jest