Skip to content

Create Sonar Project #3

Create Sonar Project

Create Sonar Project #3

name: Create Sonar Project
on:
workflow_dispatch:
inputs:
project_name:
description: 'Name of the project (without type prefix)'
required: true
type: string
jobs:
create-project:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Sonar Project for module
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
chmod +x .github/scripts/sonar-manager.sh
.github/scripts/sonar-manager.sh -a "create" -p "modules_${{ inputs.project_name }}"