forked from wazuh/wazuh-docker
GH notification identation fix
This commit is contained in:
@@ -157,6 +157,7 @@ jobs:
|
|||||||
PURPOSE="regeneration"
|
PURPOSE="regeneration"
|
||||||
echo "Image wazuh/wazuh-manager:$IMAGE_TAG exists. Setting PURPOSE to 'regeneration'"
|
echo "Image wazuh/wazuh-manager:$IMAGE_TAG exists. Setting PURPOSE to 'regeneration'"
|
||||||
else
|
else
|
||||||
|
PURPOSE="new release"
|
||||||
echo "Image wazuh/wazuh-manager:$IMAGE_TAG does NOT exist. Setting PURPOSE to 'new release'"
|
echo "Image wazuh/wazuh-manager:$IMAGE_TAG does NOT exist. Setting PURPOSE to 'new release'"
|
||||||
fi
|
fi
|
||||||
echo "✅ Release tag: '$IMAGE_TAG'"
|
echo "✅ Release tag: '$IMAGE_TAG'"
|
||||||
@@ -186,19 +187,22 @@ jobs:
|
|||||||
if: ${{ !inputs.push_images && steps.validation.outputs.purpose != '' }}
|
if: ${{ !inputs.push_images && steps.validation.outputs.purpose != '' }}
|
||||||
run: |
|
run: |
|
||||||
IMAGE_TAG=${{ inputs.image_tag }}
|
IMAGE_TAG=${{ inputs.image_tag }}
|
||||||
GH_MESSAGE=""
|
|
||||||
GH_TITLE=""
|
GH_TITLE=""
|
||||||
PURPOSE="${{ steps.validation.outputs.purpose }}""
|
GH_MESSAGE=""
|
||||||
|
PURPOSE="${{ steps.validation.outputs.purpose }}"
|
||||||
|
|
||||||
GH_TITLE="Artifactory vulnerabilities update \`$IMAGE_TAG\`"
|
|
||||||
read -r -d '' GH_MESSAGE << EOF
|
GH_TITLE="Artifactory vulnerabilities update \`v$IMAGE_TAG\`"
|
||||||
## Description
|
|
||||||
|
GH_MESSAGE=$(cat <<- EOF | tr -d '\r' | sed 's/^[[:space:]]*//'
|
||||||
|
### Description
|
||||||
- [ ] Update the [Artifactory vulnerabilities](https://docs.google.com/spreadsheets/d/1ZtkyvmZ_CS9fa0nEmZf9sZb4a3o65_HoMP1g83XmlK0/edit?usp=sharing) sheet with the \`$IMAGE_TAG\` vulnerabilities.
|
- [ ] Update the [Artifactory vulnerabilities](https://docs.google.com/spreadsheets/d/1ZtkyvmZ_CS9fa0nEmZf9sZb4a3o65_HoMP1g83XmlK0/edit?usp=sharing) sheet with the \`$IMAGE_TAG\` vulnerabilities.
|
||||||
|
|
||||||
>[!NOTE]
|
>[!NOTE]
|
||||||
>To update the \`Tentative Release\` column, follow these steps:
|
>To update the \`Tentative Release\` column, follow these steps:
|
||||||
https://github.com/wazuh/wazuh-automation/issues/2049#issuecomment-2671590268
|
https://github.com/wazuh/wazuh-automation/issues/2049#issuecomment-2671590268
|
||||||
EOF
|
EOF
|
||||||
|
)
|
||||||
|
|
||||||
# Print the GH Variables content
|
# Print the GH Variables content
|
||||||
echo "--- Variable Content ---"
|
echo "--- Variable Content ---"
|
||||||
|
|||||||
Reference in New Issue
Block a user