Fix 6_builderpackage_plugins_onpush.yml (#508)

* Fix on push workflow and rename the workflows

* Fix error with the new name

* Add changelog entry and fix documentation
This commit is contained in:
Jorge Sánchez 2025-06-24 12:23:10 +02:00 committed by GitHub
parent a5683bd67d
commit b601b9ec62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 11 additions and 8 deletions

View File

@ -32,16 +32,18 @@ jobs:
# Step to find which project folder contains modified files # Step to find which project folder contains modified files
- name: Detect modified plugins - name: Detect modified plugins
id: detect_changes id: detect_changes
uses: ./.github/actions/5_codeanalysis_detect_modified_plugins uses: ./.github/actions/6_codeanalysis_detect_modified_plugins
with: with:
base_branch: ${{ env.base_branch }} base_branch: ${{ env.base_branch }}
call-build-workflow: call-build-workflow:
permissions:
actions: read
needs: modified-plugins needs: modified-plugins
strategy: strategy:
matrix: matrix:
project: ${{ fromJSON(needs.modified-plugins.outputs.projects) }} project: ${{ fromJSON(needs.modified-plugins.outputs.projects) }}
uses: ./.github/workflows/5_builderpackage_plugins.yml uses: ./.github/workflows/6_builderpackage_plugins.yml
secrets: inherit secrets: inherit
with: with:
id: ${{ github.ref }} id: ${{ github.ref }}

View File

@ -28,7 +28,7 @@ jobs:
# Step to find which project folder contains modified files # Step to find which project folder contains modified files
- name: Detect modified plugins - name: Detect modified plugins
id: detect_changes id: detect_changes
uses: ./.github/actions/5_codeanalysis_detect_modified_plugins uses: ./.github/actions/6_codeanalysis_detect_modified_plugins
with: with:
base_branch: ${{ github.event.repository.default_branch }} base_branch: ${{ github.event.repository.default_branch }}

View File

@ -67,6 +67,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Fix unauthorized request to the Command Manager API [(#394)](https://github.com/wazuh/wazuh-indexer-plugins/pull/394) - Fix unauthorized request to the Command Manager API [(#394)](https://github.com/wazuh/wazuh-indexer-plugins/pull/394)
- Fix Vagrant test environment certificates [(#424)](https://github.com/wazuh/wazuh-indexer-plugins/pull/424) - Fix Vagrant test environment certificates [(#424)](https://github.com/wazuh/wazuh-indexer-plugins/pull/424)
- Fix arguments for the Content Manager's `update` command [(#441)](https://github.com/wazuh/wazuh-indexer-plugins/pull/441) - Fix arguments for the Content Manager's `update` command [(#441)](https://github.com/wazuh/wazuh-indexer-plugins/pull/441)
- Fix `6_builderpackage_plugins_onpush.yml` [(#508)](https://github.com/wazuh/wazuh-indexer-plugins/pull/508)
### Security ### Security
- Reduce risk of GITHUB_TOKEN exposure[(#485)](https://github.com/wazuh/wazuh-indexer-plugins/pull/485) - Reduce risk of GITHUB_TOKEN exposure[(#485)](https://github.com/wazuh/wazuh-indexer-plugins/pull/485)

View File

@ -5,10 +5,10 @@
[![Chat](https://img.shields.io/badge/chat-on%20forums-blue)](https://groups.google.com/forum/#!forum/wazuh) [![Chat](https://img.shields.io/badge/chat-on%20forums-blue)](https://groups.google.com/forum/#!forum/wazuh)
[![Slack](https://img.shields.io/badge/slack-join-blue.svg)](https://wazuh.com/community/join-us-on-slack) [![Slack](https://img.shields.io/badge/slack-join-blue.svg)](https://wazuh.com/community/join-us-on-slack)
[![Documentation](https://img.shields.io/badge/documentation-reference-blue)](https://documentation.wazuh.com) [![Documentation](https://img.shields.io/badge/documentation-reference-blue)](https://documentation.wazuh.com)
[![Index templates generator](https://github.com/wazuh/wazuh-indexer-plugins/actions/workflows/5_builderpackage_templates.yml/badge.svg)](https://github.com/wazuh/wazuh-indexer-plugins/actions/workflows/5_builderpackage_templates.yml) [![Index templates generator](https://github.com/wazuh/wazuh-indexer-plugins/actions/workflows/6_builderpackage_templates.yml/badge.svg)](https://github.com/wazuh/wazuh-indexer-plugins/actions/workflows/6_builderpackage_templates.yml)
[![Deploy GH pages](https://github.com/wazuh/wazuh-indexer-plugins/actions/workflows/5_builderpackage_docs.yml/badge.svg)](https://github.com/wazuh/wazuh-indexer-plugins/actions/workflows/5_builderpackage_docs.yml) [![Deploy GH pages](https://github.com/wazuh/wazuh-indexer-plugins/actions/workflows/6_builderpackage_docs.yml/badge.svg)](https://github.com/wazuh/wazuh-indexer-plugins/actions/workflows/6_builderpackage_docs.yml)
[![Build](https://github.com/wazuh/wazuh-indexer-plugins/actions/workflows/5_builderpackage_plugins.yml/badge.svg)](https://github.com/wazuh/wazuh-indexer-plugins/actions/workflows/5_builderpackage_plugins.yml) [![Build](https://github.com/wazuh/wazuh-indexer-plugins/actions/workflows/6_builderpackage_plugins.yml/badge.svg)](https://github.com/wazuh/wazuh-indexer-plugins/actions/workflows/6_builderpackage_plugins.yml)
[![Test](https://github.com/wazuh/wazuh-indexer-plugins/actions/workflows/5_testintegration_gradlecheck.yml/badge.svg)](https://github.com/wazuh/wazuh-indexer-plugins/actions/workflows/5_testintegration_gradlecheck.yml) [![Test](https://github.com/wazuh/wazuh-indexer-plugins/actions/workflows/6_testintegration_gradlecheck.yml/badge.svg)](https://github.com/wazuh/wazuh-indexer-plugins/actions/workflows/6_testintegration_gradlecheck.yml)
- [Welcome!](#welcome) - [Welcome!](#welcome)
- [Project Resources](#project-resources) - [Project Resources](#project-resources)

View File

@ -66,4 +66,4 @@ Arguments:
The script will stop if the credentials are not set, or if any of the required parameters are not provided. The script will stop if the credentials are not set, or if any of the required parameters are not provided.
This script is used in the `5_builderpackage_docker.yml` **GitHub Workflow**, which is used to automate the process even more. When possible, **prefer this method**. This script is used in the `6_builderpackage_docker.yml` **GitHub Workflow**, which is used to automate the process even more. When possible, **prefer this method**.