mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-12-10 15:25:53 -06:00
GH project variable assignment
This commit is contained in:
parent
11c0ae9161
commit
11b066ef25
@ -225,10 +225,15 @@ jobs:
|
|||||||
--label "request/operational")
|
--label "request/operational")
|
||||||
|
|
||||||
## Adding the issue to the team project
|
## Adding the issue to the team project
|
||||||
gh project item-add \
|
PROJECT_ITEM_ID=$(gh project item-add \
|
||||||
${{ secrets.NOTIFICATION_PROJECT_ID }} \
|
${{ secrets.NOTIFICATION_PROJECT_NUMBER }} \
|
||||||
--url $ISSUE_URL \
|
--url $ISSUE_URL \
|
||||||
--owner wazuh
|
--owner wazuh \
|
||||||
|
--format json \
|
||||||
|
| jq -r '.id')
|
||||||
|
|
||||||
|
## Setting Objective
|
||||||
|
gh project item-edit --id $PROJECT_ITEM_ID --project-id ${{ secrets.NOTIFICATION_PROJECT_ID }} --field-id ${{ secrets.NOTIFICATION_PROJECT_OBJECTIVE_ID }} --text "Security scans"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.NOTIFICATION_GH_ARTIFACT_TOKEN }}
|
GH_TOKEN: ${{ secrets.NOTIFICATION_GH_ARTIFACT_TOKEN }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user