Skip to content
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 #6

Merged

Conversation

guidomodarelli
Copy link

@guidomodarelli guidomodarelli commented Nov 7, 2024

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

Evidence

Here is why I removed the filter option.

image

5ff69e4#diff-f258144e908ac90eebcd80eeb5191a1007b50b9c0ca74325497c2e8d4e666f99L87-L89

5ff69e4#diff-ce491377e1248da0574b2312a9960bc2bc35a6e828452954b56176e1347354edL87-L89

Changelog

  • chore: update the actions' version accordingly.

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@guidomodarelli guidomodarelli self-assigned this Nov 7, 2024
…ieval settings for improved flexibility in workflows
…kflows for improved reliability in OpenSearch download
…r improved reliability in OpenSearch artifact downloads
…ypress and ftr workflows to avoid redundant downloads
…g OpenSearch artifacts in cypress and ftr workflows
…press and ftr workflows by removing existence checks
…in dashboards reports test and build workflow
…ng in dashboards reports test and build workflow
…rd setup in binary installation verification workflow
@yenienserrano
Copy link
Member

The issue it says to update the GitHub actions but I see that you are updating all of them, was this for some reason?

@guidomodarelli
Copy link
Author

The issue it says to update the GitHub actions but I see that you are updating all of them, was this for some reason?

Since I'm modifying the versions, I checked all the files to take advantage of the opportunity

Copy link
Member

@yenienserrano yenienserrano left a comment

Choose a reason for hiding this comment

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

LGTM

@asteriscos asteriscos merged commit 1164c4b into master Nov 8, 2024
7 of 11 checks passed
@Tostti Tostti deleted the change/345-use-of-deprecated-actions-on-gh-workflows branch November 12, 2024 14:40
Tostti pushed a commit that referenced this pull request Dec 16, 2024
* Update GitHub Actions to use checkout@v4 for consistency and improved functionality across workflows

* Downgrade actions/checkout from v4 to v3 for consistent versioning across Cypress and FTR workflows

* Update actions/checkout to v4 in workflows

* Downgrade actions/checkout from v4 to v3 in Cypress and FTR workflows for consistent versioning and setup

* Update actions/upload-artifact to v4 and enable overwrite for GitHub artifact uploads

* Update actions/setup-node to v4 across all workflows to ensure consistency and benefit from latest features

* Update tibdex/github-app-token to v2.1.0 and adjust installation retrieval settings for improved flexibility in workflows

* Update actions/setup-java to v4 in cypress and ftr workflows for consistency and access to latest improvements

* Update suisei-cn/actions-download-file to v1.6.0 in cypress and ftr workflows for consistent artifact management

* Add 'temurin' distribution to JDK setup in cypress and ftr workflows for improved consistency

* Upgrade download-file action to v3 in cypress and ftr workflows for enhanced performance and consistency

* Replace download-file action with wget command in cypress and ftr workflows for improved reliability in OpenSearch download

* Replace download-file action with wget command in cypress workflow for improved reliability in OpenSearch artifact downloads

* Check for existing files before downloading OpenSearch artifacts in cypress and ftr workflows to avoid redundant downloads

* Adjust existence check to directories instead of files for downloading OpenSearch artifacts in cypress and ftr workflows

* Refactor artifact download logic to ensure consistent execution in cypress and ftr workflows by removing existence checks

* Update retry action version to v2.9.0 for OpenSearch Dashboards plugin bootstrap and test in workflows

* Fix retry action reference in workflows to use single '@' for v2.9.0 in dashboards reports test and build workflow

* Update codecov action version to v4.6.0 for improved coverage reporting in dashboards reports test and build workflow

* Streamline mkdir usage in workflows by removing redundant checks for plugin-artifacts directory creation

* Downgrade codecov action to v3 to address compatibility issues in dashboards reports test and build workflow

* Upgrade release-drafter action to v6 for better draft release notes handling in workflows

* Upgrade start-opensearch action to v6 for enhanced functionality in binary installation verification workflow

* Upgrade setup-opensearch-dashboards action to v3 for improved dashboard setup in binary installation verification workflow

* Upgrade actions/checkout to v4 for enhanced functionality in Cypress and FTR E2E reporting test workflows
Tostti added a commit that referenced this pull request Dec 16, 2024
* Update GitHub Actions to use checkout@v4 for consistency and improved functionality across workflows

* Downgrade actions/checkout from v4 to v3 for consistent versioning across Cypress and FTR workflows

* Update actions/checkout to v4 in workflows

* Downgrade actions/checkout from v4 to v3 in Cypress and FTR workflows for consistent versioning and setup

* Update actions/upload-artifact to v4 and enable overwrite for GitHub artifact uploads

* Update actions/setup-node to v4 across all workflows to ensure consistency and benefit from latest features

* Update tibdex/github-app-token to v2.1.0 and adjust installation retrieval settings for improved flexibility in workflows

* Update actions/setup-java to v4 in cypress and ftr workflows for consistency and access to latest improvements

* Update suisei-cn/actions-download-file to v1.6.0 in cypress and ftr workflows for consistent artifact management

* Add 'temurin' distribution to JDK setup in cypress and ftr workflows for improved consistency

* Upgrade download-file action to v3 in cypress and ftr workflows for enhanced performance and consistency

* Replace download-file action with wget command in cypress and ftr workflows for improved reliability in OpenSearch download

* Replace download-file action with wget command in cypress workflow for improved reliability in OpenSearch artifact downloads

* Check for existing files before downloading OpenSearch artifacts in cypress and ftr workflows to avoid redundant downloads

* Adjust existence check to directories instead of files for downloading OpenSearch artifacts in cypress and ftr workflows

* Refactor artifact download logic to ensure consistent execution in cypress and ftr workflows by removing existence checks

* Update retry action version to v2.9.0 for OpenSearch Dashboards plugin bootstrap and test in workflows

* Fix retry action reference in workflows to use single '@' for v2.9.0 in dashboards reports test and build workflow

* Update codecov action version to v4.6.0 for improved coverage reporting in dashboards reports test and build workflow

* Streamline mkdir usage in workflows by removing redundant checks for plugin-artifacts directory creation

* Downgrade codecov action to v3 to address compatibility issues in dashboards reports test and build workflow

* Upgrade release-drafter action to v6 for better draft release notes handling in workflows

* Upgrade start-opensearch action to v6 for enhanced functionality in binary installation verification workflow

* Upgrade setup-opensearch-dashboards action to v3 for improved dashboard setup in binary installation verification workflow

* Upgrade actions/checkout to v4 for enhanced functionality in Cypress and FTR E2E reporting test workflows

Co-authored-by: Guido Modarelli <[email protected]>
asteriscos pushed a commit that referenced this pull request Mar 10, 2025
* Update GitHub Actions to use checkout@v4 for consistency and improved functionality across workflows

* Downgrade actions/checkout from v4 to v3 for consistent versioning across Cypress and FTR workflows

* Update actions/checkout to v4 in workflows

* Downgrade actions/checkout from v4 to v3 in Cypress and FTR workflows for consistent versioning and setup

* Update actions/upload-artifact to v4 and enable overwrite for GitHub artifact uploads

* Update actions/setup-node to v4 across all workflows to ensure consistency and benefit from latest features

* Update tibdex/github-app-token to v2.1.0 and adjust installation retrieval settings for improved flexibility in workflows

* Update actions/setup-java to v4 in cypress and ftr workflows for consistency and access to latest improvements

* Update suisei-cn/actions-download-file to v1.6.0 in cypress and ftr workflows for consistent artifact management

* Add 'temurin' distribution to JDK setup in cypress and ftr workflows for improved consistency

* Upgrade download-file action to v3 in cypress and ftr workflows for enhanced performance and consistency

* Replace download-file action with wget command in cypress and ftr workflows for improved reliability in OpenSearch download

* Replace download-file action with wget command in cypress workflow for improved reliability in OpenSearch artifact downloads

* Check for existing files before downloading OpenSearch artifacts in cypress and ftr workflows to avoid redundant downloads

* Adjust existence check to directories instead of files for downloading OpenSearch artifacts in cypress and ftr workflows

* Refactor artifact download logic to ensure consistent execution in cypress and ftr workflows by removing existence checks

* Update retry action version to v2.9.0 for OpenSearch Dashboards plugin bootstrap and test in workflows

* Fix retry action reference in workflows to use single '@' for v2.9.0 in dashboards reports test and build workflow

* Update codecov action version to v4.6.0 for improved coverage reporting in dashboards reports test and build workflow

* Streamline mkdir usage in workflows by removing redundant checks for plugin-artifacts directory creation

* Downgrade codecov action to v3 to address compatibility issues in dashboards reports test and build workflow

* Upgrade release-drafter action to v6 for better draft release notes handling in workflows

* Upgrade start-opensearch action to v6 for enhanced functionality in binary installation verification workflow

* Upgrade setup-opensearch-dashboards action to v3 for improved dashboard setup in binary installation verification workflow

* Upgrade actions/checkout to v4 for enhanced functionality in Cypress and FTR E2E reporting test workflows

Co-authored-by: Guido Modarelli <[email protected]>
asteriscos added a commit that referenced this pull request Mar 10, 2025
* Compatibility with Opensearch 2.18.0 (#8)

* Compatibility with Opensearch 2.17.1 (#5)

* Enable notifications plugins in reporting (#2)

* Add docker

* Enable notifications plugins

* Add notifications settings create report

* Add edit notifications settings

* Add details notifications settings

* Add information in the table

* Fix notebooks selector

* Update actions/upload-artifact version

* Fix tests

* Fix lint

* Remove build windows and macos

* Bump OPENSEARCH_PLUGIN_VERSION on action

* Updates actions

* Add workflow_dispatch, workflow_call on action

* Add wazuh version and revision package.json

* Change action build

* Add manual-build action

* Remove console.log

* Fix edit notification

---------

Co-authored-by: Federico Rodriguez <[email protected]>

* Fix build workflow (#4)

* Bump Opensearch dashboard version

* remove entrypoint dev.yml osd

* Change dev.yml volume path

* fix snapshot

---------

Co-authored-by: Federico Rodriguez <[email protected]>

* Bump Opensearch dashboard version: 2.17.1 to 2.18.0

---------

Co-authored-by: Federico Rodriguez <[email protected]>

* Apply reference name change (#9)

* Update the actions' version (#6) (#11)

* Update GitHub Actions to use checkout@v4 for consistency and improved functionality across workflows

* Downgrade actions/checkout from v4 to v3 for consistent versioning across Cypress and FTR workflows

* Update actions/checkout to v4 in workflows

* Downgrade actions/checkout from v4 to v3 in Cypress and FTR workflows for consistent versioning and setup

* Update actions/upload-artifact to v4 and enable overwrite for GitHub artifact uploads

* Update actions/setup-node to v4 across all workflows to ensure consistency and benefit from latest features

* Update tibdex/github-app-token to v2.1.0 and adjust installation retrieval settings for improved flexibility in workflows

* Update actions/setup-java to v4 in cypress and ftr workflows for consistency and access to latest improvements

* Update suisei-cn/actions-download-file to v1.6.0 in cypress and ftr workflows for consistent artifact management

* Add 'temurin' distribution to JDK setup in cypress and ftr workflows for improved consistency

* Upgrade download-file action to v3 in cypress and ftr workflows for enhanced performance and consistency

* Replace download-file action with wget command in cypress and ftr workflows for improved reliability in OpenSearch download

* Replace download-file action with wget command in cypress workflow for improved reliability in OpenSearch artifact downloads

* Check for existing files before downloading OpenSearch artifacts in cypress and ftr workflows to avoid redundant downloads

* Adjust existence check to directories instead of files for downloading OpenSearch artifacts in cypress and ftr workflows

* Refactor artifact download logic to ensure consistent execution in cypress and ftr workflows by removing existence checks

* Update retry action version to v2.9.0 for OpenSearch Dashboards plugin bootstrap and test in workflows

* Fix retry action reference in workflows to use single '@' for v2.9.0 in dashboards reports test and build workflow

* Update codecov action version to v4.6.0 for improved coverage reporting in dashboards reports test and build workflow

* Streamline mkdir usage in workflows by removing redundant checks for plugin-artifacts directory creation

* Downgrade codecov action to v3 to address compatibility issues in dashboards reports test and build workflow

* Upgrade release-drafter action to v6 for better draft release notes handling in workflows

* Upgrade start-opensearch action to v6 for enhanced functionality in binary installation verification workflow

* Upgrade setup-opensearch-dashboards action to v3 for improved dashboard setup in binary installation verification workflow

* Upgrade actions/checkout to v4 for enhanced functionality in Cypress and FTR E2E reporting test workflows

Co-authored-by: Guido Modarelli <[email protected]>

* Change master references to main (#13)

* Version file standardization (#16)

* Add VERSION.json

* chore: update version to 5.0.0

* Update security policy (#17)

* Update GitHub actions to use Ubuntu 24.04 (#19)

* Actions and workflows according to convention (#21)

* workflows according to convention

* improves manual build workflow documentation

Enhances the description of the manual build workflow, clarifying its functionality and benefits. Emphasizes reuse of preconfigured build environment for easier maintenance.

* enhance workflow documentation for base environment setup

* docs: enhance manual build workflow documentation

* docs: remove automated testing note from manual build workflow

* docs: update base workflow documentation for clarity and structure

* rename workflow and update descriptions

Renames the manual build workflow to reporting plugin workflow.
Updates description for Git reference input to improve clarity.

* Updates workflow descriptions for consistency

Refines descriptions in the GitHub Actions workflow file for better clarity and consistency, correcting typos and standardizing punctuation.

* Update .github/workflows/5_builderpackage_reporting_plugin.yml

Co-authored-by: Antonio <[email protected]>
Signed-off-by: Guido Modarelli <[email protected]>

---------

Signed-off-by: Guido Modarelli <[email protected]>
Co-authored-by: Antonio <[email protected]>

---------

Signed-off-by: Guido Modarelli <[email protected]>
Co-authored-by: Ian Yenien Serrano <[email protected]>
Co-authored-by: Nicolas Agustin Guevara Pihen <[email protected]>
Co-authored-by: Guido Modarelli <[email protected]>
Co-authored-by: Antonio <[email protected]>
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.

Use of deprecated Actions on GH Workflows
3 participants