diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml index f2b6c1e244..ccb01d0ae6 100644 --- a/.github/workflows/release-build.yaml +++ b/.github/workflows/release-build.yaml @@ -431,7 +431,7 @@ jobs: uses: actions/checkout@v4 - name: Set ENV Var with Scanner Version - uses: mikefarah/yq@v4.45.1 + uses: mikefarah/yq@v4.45.2 # Notice: The current version of the scanner is provided via the Chart.yaml to ensure # there is only one place to edit the version of a scanner with: @@ -439,7 +439,7 @@ jobs: # extract the supported cpu architectures from the Chart.yaml - name: Set ENV Var with Supported Platforms - uses: mikefarah/yq@v4.45.1 + uses: mikefarah/yq@v4.45.2 with: cmd: echo supportedPlatforms=$(yq e .annotations.supported-platforms scanners/${{ matrix.scanner }}/Chart.yaml) >> $GITHUB_ENV @@ -562,7 +562,7 @@ jobs: uses: actions/checkout@v4 - name: Set ENV Var with Demo-Target Version - uses: mikefarah/yq@v4.45.1 + uses: mikefarah/yq@v4.45.2 # Notice: The current version of the demo-target is provided via the Chart.yaml to ensure # there is only one place to edit the version of a scanner with: diff --git a/.github/workflows/scb-bot.yaml b/.github/workflows/scb-bot.yaml index 29a0304729..83995d3a6b 100644 --- a/.github/workflows/scb-bot.yaml +++ b/.github/workflows/scb-bot.yaml @@ -62,14 +62,14 @@ jobs: # Fetching scanner version from local chart .appVersion attribute # this would look like 1.1.1 or v1.1.1 depending on the corresponding Docker image tag - name: Fetch local scanner version - uses: mikefarah/yq@v4.45.1 + uses: mikefarah/yq@v4.45.2 with: cmd: echo local=$(yq e .appVersion scanners/${{ matrix.scanner }}/Chart.yaml) >> $GITHUB_ENV # Fetching scanner version API from local chart .annotations.versionApi attribute # This would look like https://api.github.com/repos/OWASP/Amass/releases/latest - name: Fetch scanner's version API - uses: mikefarah/yq@v4.45.1 + uses: mikefarah/yq@v4.45.2 with: cmd: echo versionApi=$(yq e .annotations.versionApi scanners/${{ matrix.scanner }}/Chart.yaml) >> $GITHUB_ENV @@ -144,7 +144,7 @@ jobs: - name: Upgrade Scanner Helm Chart if: ${{ env.release != env.local && env.prExists == 0 && env.release != null}} - uses: mikefarah/yq@v4.45.1 + uses: mikefarah/yq@v4.45.2 with: # appVersion value in chart is replaced with release value. Empty lines are deleted in the process cmd: yq e --inplace '.appVersion = "${{env.release}}"' ./scanners/${{ matrix.scanner }}/Chart.yaml