Skip to content

Commit 5c8b6d7

Browse files
committed
Fix some typos in workflows
1 parent b32be03 commit 5c8b6d7

3 files changed

Lines changed: 12 additions & 18 deletions

File tree

.github/workflows/quality-monitor-dependency-check.yml renamed to .github/workflows/dependency-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Upload Dependency Report
4343
uses: actions/upload-artifact@v6
4444
with:
45-
name: quality-reports
45+
name: dependency-report
4646
path: |
4747
**/target/**/*.json
4848

.github/workflows/quality-monitor-comment-pr.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: actions/checkout@v6
3030
with:
3131
ref: ${{ steps.pr.outputs.sha }}
32-
- name: Ensure jq and unzip installed
32+
- name: Install jq and unzip
3333
run: |
3434
sudo apt-get update && sudo apt-get install -y jq unzip
3535
- name: Prepare environment
@@ -40,24 +40,21 @@ jobs:
4040
run: |
4141
echo "HEAD_SHA=$HEAD_SHA"
4242
echo "REPO=$REPO"
43-
- name: Fetch artifacts from other workflows
43+
- name: Fetch artifacts from dependency check and quality monitor workflows
4444
env:
4545
REPO: ${{ github.repository }}
4646
HEAD_SHA: ${{ github.event.workflow_run.head_sha }}
4747
TOKEN: ${{ secrets.GITHUB_TOKEN }}
48-
OTHER_WORKFLOWS: "quality-monitor-build.yml,quality-monitor-dependency-check.yml"
49-
ARTIFACT_NAMES: "quality-reports,quality-reports"
48+
OTHER_WORKFLOWS: "quality-monitor-build.yml,dependency-check.yml"
49+
ARTIFACT_NAMES: "quality-reports,dependency-report"
5050
RETRIES: 30
5151
SLEEP_SEC: 10
5252
run: |
5353
chmod +x ./.github/scripts/fetch-artifacts.sh
5454
./.github/scripts/fetch-artifacts.sh
5555
- name: List downloaded artifacts
5656
run: |
57-
ls -la artifacts || true
58-
- name: Continue with consumer steps
59-
run: |
60-
echo "Now you can consume files in ./artifacts/"
57+
ls -la artifacts/* || true
6158
- name: Read Quality Monitor Configuration
6259
id: quality-monitor
6360
run: echo "json=$(jq -c . .github/quality-monitor-pr.json)" >> "$GITHUB_OUTPUT"

.github/workflows/quality-monitor-comment.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ permissions:
1313

1414
jobs:
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

Comments
 (0)