Skip to content

Commit 71cb2ec

Browse files
committed
removed the input branch option
1 parent 90cff49 commit 71cb2ec

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/05-Trigger-SonarQube-test.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ name: Trigger and Monitor SQ Test
22

33
on:
44
workflow_dispatch:
5-
inputs:
6-
SQA_branch:
7-
description: 'SQA Branch name'
8-
required: true
9-
default: '2-add-bluetooth-aoa-project'
105

116
jobs:
127
trigger-SQ-test:
@@ -22,7 +17,7 @@ jobs:
2217
-H "Accept: application/vnd.github.v3+json" \
2318
-H "Authorization: token ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
2419
https://api.github.com/repos/SiliconLabsInternal/DevS-SQA/actions/workflows/01-sonarqube-analysis.yml/dispatches \
25-
-d '{"ref":"${{inputs.SQA_branch}}","inputs":{"repository": "${{ github.repository }}" ,"ref":"${{ github.ref }}"}}')
20+
-d '{"ref":"2-add-bluetooth-aoa-project","inputs":{"repository": "${{ github.repository }}" ,"ref":"${{ github.ref }}"}}')
2621
echo "Triggered workflow: $response"
2722
if echo "$response" | grep -q '"message": "Not Found"'; then
2823
echo "Error: Workflow or repository not found. Please check the repository name, workflow file name, and branch name."

0 commit comments

Comments
 (0)