Skip to content

Commit b665fd4

Browse files
authored
fix(assign): Add correct file path to check slack channels (#44475)
### What does this PR do? Use the correct file path of the `github_slack` maps. And test against the 2 maps for safety ### Motivation Prevent workflow [issue](https://github.com/DataDog/datadog-agent/actions/runs/20372770033/job/58543286686) in sending message <img width="713" height="162" alt="image" src="https://github.com/user-attachments/assets/d709b3bc-b45e-4484-88be-37d2b75fdaa6" /> ### Describe how you validated your changes n/a ### Additional Notes Co-authored-by: nicolas.schweitzer <nicolas.schweitzer@datadoghq.com>
1 parent 4ef653e commit b665fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/assign_issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ jobs:
199199
echo "team=unknown" >> $GITHUB_OUTPUT
200200
fi
201201
SLACK=$(grep SLACK claude.txt | cut -d ':' -f2)
202-
if grep -q "$SLACK" github_slack_map.yaml; then
202+
if grep -q "$SLACK" tasks/libs/pipeline/github_slack_map.yaml || grep -q "$SLACK" tasks/libs/pipeline/github_slack_review_map.yaml; then
203203
# We validate the slack channel against the github_slack_map.yaml file
204204
echo "slack=$SLACK" >> $GITHUB_OUTPUT
205205
else

0 commit comments

Comments
 (0)