ci(DATAGO-122665): remove WhiteSource and add workflow_dispatch to CI #281
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| types: [opened, synchronize] | ||
| workflow_dispatch: | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} | ||
| cancel-in-progress: true | ||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
| id-token: write | ||
| actions: read | ||
| issues: write | ||
| checks: write | ||
| statuses: write | ||
| packages: read | ||
| jobs: | ||
| # FOSSA security scanning - runs in parallel with CI (skipped for forks, no secret access) | ||
| fossa_scan: | ||
| name: FOSSA Scan | ||
| if: ${{ !github.event.repository.fork }} | ||
| uses: SolaceDev/solace-public-workflows/.github/workflows/sca-scan-and-guard.yaml@main | ||
| with: | ||
| use_vault: false | ||
| config_file: '.github/workflow-config.json' | ||
| setup_actions: '["setup-uv"]' | ||
| custom_setup_script: | | ||
| uv pip compile pyproject.toml --extra all --no-header -o requirements.txt | ||
| secrets: | ||
| FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }} | ||
| # Python CI - builds, tests, and other security scans | ||
| ci: | ||
| name: Build & Test | ||
| uses: SolaceDev/solace-public-workflows/.github/workflows/hatch_ci.yml@main | ||
|
Check warning on line 42 in .github/workflows/ci.yaml
|
||
| with: | ||
| min-python-version: "3.10" | ||
| max-python-version: "3.13" | ||
| secrets: | ||
| SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} | ||
| SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST_URL }} | ||
| MANIFEST_AWS_ACCESS_KEY_ID: ${{ secrets.MANIFEST_READ_ONLY_AWS_ACCESS_KEY_ID }} | ||
| MANIFEST_AWS_SECRET_ACCESS_KEY: ${{ secrets.MANIFEST_READ_ONLY_AWS_SECRET_ACCESS_KEY }} | ||
| MANIFEST_AWS_REGION: ${{ secrets.AWS_DEFAULT_REGION }} | ||