@@ -13,14 +13,14 @@ permissions:
1313
1414jobs :
1515 comment :
16- if : {{ github.event.workflow_run.event == 'push' && github.event.workflow_run.head_branch == 'main' }}
16+ if : $ {{ github.event.workflow_run.event == 'push' && github.event.workflow_run.head_branch == 'main' }}
1717 runs-on : ubuntu-latest
1818 name : Comment main branch
1919
2020 steps :
2121 - name : Checkout main branch
2222 uses : actions/checkout@v6
23- - name : Ensure jq and unzip installed
23+ - name : Install jq and unzip
2424 run : |
2525 sudo apt-get update && sudo apt-get install -y jq unzip
2626 - name : Prepare environment
@@ -31,24 +31,21 @@ jobs:
3131 run : |
3232 echo "HEAD_SHA=$HEAD_SHA"
3333 echo "REPO=$REPO"
34- - name : Fetch artifacts from other workflows
34+ - name : Fetch artifacts from dependency check and quality monitor workflows
3535 env :
3636 REPO : ${{ github.repository }}
3737 HEAD_SHA : ${{ github.event.workflow_run.head_sha }}
3838 TOKEN : ${{ secrets.GITHUB_TOKEN }}
39- OTHER_WORKFLOWS : " quality-monitor-build.yml,quality-monitor- dependency-check.yml"
40- ARTIFACT_NAMES : " quality-reports"
39+ OTHER_WORKFLOWS : " quality-monitor-build.yml,dependency-check.yml"
40+ ARTIFACT_NAMES : " quality-reports,dependency-report "
4141 RETRIES : 30
4242 SLEEP_SEC : 10
4343 run : |
4444 chmod +x ./.github/scripts/fetch-artifacts.sh
4545 ./.github/scripts/fetch-artifacts.sh
4646 - name : List downloaded artifacts
4747 run : |
48- ls -la artifacts || true
49- - name : Continue with consumer steps
50- run : |
51- echo "Now you can consume files in ./artifacts/"
48+ ls -la artifacts/* || true
5249 - name : Read Quality Monitor Configuration
5350 id : quality-monitor
5451 run : echo "json=$(jq -c . .github/quality-monitor.json)" >> "$GITHUB_OUTPUT"
0 commit comments