GH issue creation command fix

This commit is contained in:
Gonzalo Acuña
2025-11-13 10:01:08 -03:00
parent ecb486f625
commit 11c0ae9161
@@ -218,17 +218,17 @@ jobs:
## GH issue creation ## GH issue creation
ISSUE_URL=$(gh issue create \ ISSUE_URL=$(gh issue create \
-R wazuh/${{ secrets.NOTIFICATION_REPO }} \ -R wazuh/${{ secrets.NOTIFICATION_REPO }} \
--title $GH_TITLE \ --title "$GH_TITLE" \
--body $GH_MESSAGE \ --body "$GH_MESSAGE" \
--label "level/task" \ --label "level/task" \
--label "type/maintenance" \ --label "type/maintenance" \
--label "request/operational" \ --label "request/operational")
--json url -q .url)
## Adding the issue to the team project ## Adding the issue to the team project
gh project item-add \ gh project item-add \
${{ secrets.NOTIFICATION_PROJECT_ID }} \ ${{ secrets.NOTIFICATION_PROJECT_ID }} \
--url $ISSUE_URL --url $ISSUE_URL \
--owner wazuh
env: env:
GH_TOKEN: ${{ secrets.NOTIFICATION_GH_ARTIFACT_TOKEN }} GH_TOKEN: ${{ secrets.NOTIFICATION_GH_ARTIFACT_TOKEN }}