diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae0477f..3a460f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Run actionlint, shellcheck and the conventions of this repository @@ -37,7 +37,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Install terraform @@ -53,7 +53,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup TFLint @@ -69,7 +69,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Install terraform @@ -115,7 +115,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Install a terraform release that does not exist @@ -200,7 +200,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup Helm @@ -216,7 +216,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup Helm @@ -258,7 +258,7 @@ jobs: timeout-minutes: 30 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup Opengrep @@ -284,7 +284,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup Helm @@ -302,7 +302,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup GoReleaser @@ -318,11 +318,11 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup Go - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 + uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 with: go-version-file: test/fixtures/go/module/go.mod cache: false @@ -361,7 +361,7 @@ jobs: timeout-minutes: 10 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false # The server outlives this step, which the next ones reach, and goes with the job. @@ -406,7 +406,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup Task @@ -422,7 +422,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false # Signing needs an OIDC token and a registry to push to, so the run stops short of it. @@ -458,7 +458,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Package the library fixture @@ -480,7 +480,7 @@ jobs: - 5000:5000 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup QEMU @@ -489,7 +489,7 @@ jobs: platforms: linux/amd64,linux/arm64,linux/arm/v7 - name: Verify an arm64 image runs run: | - [ "$(docker run --rm --platform linux/arm64 busybox:1.37 uname -m)" = aarch64 ] + [ "$(docker run --rm --platform linux/arm64 busybox:1.38 uname -m)" = aarch64 ] - name: Build an image for two platforms, one emulated id: emulated uses: ./actions/container/build-push @@ -521,7 +521,7 @@ jobs: - 5000:5000 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Build and push the base image under a tag @@ -566,7 +566,7 @@ jobs: - 5000:5000 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Build and push the base image natively @@ -596,7 +596,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup Terraform @@ -650,7 +650,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Start MongoDB @@ -666,7 +666,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Start MongoDB 8.0 @@ -683,7 +683,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Start MongoDB @@ -701,7 +701,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Generate SBOM for this repository @@ -720,7 +720,7 @@ jobs: - name: Generate SBOM for a public image uses: ./actions/syft/generate-sbom with: - target-image: busybox:1.37 + target-image: busybox:1.38 output-format: cyclonedx-json output-file: sbom-image-test.cdx.json upload-artifact: "false" @@ -737,7 +737,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Scan a real image with Trivy @@ -844,7 +844,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Install .NET & lint @@ -884,7 +884,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false # The empty tree of git stands for a base holding nothing, which needs no history in the clone. @@ -954,7 +954,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Publish a version the registry already has @@ -996,7 +996,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Install the dependencies @@ -1057,7 +1057,7 @@ jobs: FIXTURE_VALUE=extra mongodb-enabled: true task-enabled: true - terraform-version: 1.17.0 + terraform-version: 1.17.1 test-script: test:coverage working-directory: test/fixtures/node @@ -1094,7 +1094,7 @@ jobs: timeout-minutes: 20 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false # As the Node.js quality workflow does with its workflow parts. diff --git a/.github/workflows/reusable-container-publication.yml b/.github/workflows/reusable-container-publication.yml index cbf7d67..8c97dc6 100644 --- a/.github/workflows/reusable-container-publication.yml +++ b/.github/workflows/reusable-container-publication.yml @@ -109,11 +109,11 @@ jobs: echo "$SECRET_VARS" >> "$GITHUB_ENV" fi - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Checkout workflow parts - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: devpro/github-workflow-parts # The caller being this repository, the actions under test are those of the commit under test. @@ -165,11 +165,11 @@ jobs: echo "$SECRET_VARS" >> "$GITHUB_ENV" fi - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Checkout workflow parts - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: devpro/github-workflow-parts # The caller being this repository, the actions under test are those of the commit under test. @@ -215,11 +215,11 @@ jobs: echo "$SECRET_VARS" >> "$GITHUB_ENV" fi - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Checkout workflow parts - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: devpro/github-workflow-parts # The caller being this repository, the actions under test are those of the commit under test. @@ -253,7 +253,7 @@ jobs: timeout-minutes: ${{ inputs.timeout-minutes }} steps: - name: Checkout workflow parts - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: devpro/github-workflow-parts # The caller being this repository, the actions under test are those of the commit under test. diff --git a/.github/workflows/reusable-container-scan.yml b/.github/workflows/reusable-container-scan.yml index 93f196f..928ffe9 100644 --- a/.github/workflows/reusable-container-scan.yml +++ b/.github/workflows/reusable-container-scan.yml @@ -75,11 +75,11 @@ jobs: working-directory: ${{ inputs.working-directory }} steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Checkout workflow parts - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: devpro/github-workflow-parts # The caller being this repository, the actions under test are those of the commit under test. diff --git a/.github/workflows/reusable-dotnet-quality.yml b/.github/workflows/reusable-dotnet-quality.yml index c53bcdd..c670600 100644 --- a/.github/workflows/reusable-dotnet-quality.yml +++ b/.github/workflows/reusable-dotnet-quality.yml @@ -158,12 +158,12 @@ jobs: run: git config --global core.autocrlf false shell: bash - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 persist-credentials: false - name: Checkout workflow parts - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: devpro/github-workflow-parts # The caller being this repository, the actions under test are those of the commit under test. @@ -229,7 +229,7 @@ jobs: target-path: ${{ inputs.working-directory }} - name: Archive test results if: always() - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: dotnet-test-results # The build, test and FOSSA actions write the results, the coverage and the reports in the report folder of the working directory. diff --git a/.github/workflows/reusable-git-check.yml b/.github/workflows/reusable-git-check.yml index e585c1e..dc21a13 100644 --- a/.github/workflows/reusable-git-check.yml +++ b/.github/workflows/reusable-git-check.yml @@ -55,13 +55,13 @@ jobs: version-major-minor: ${{ steps.version.outputs.version-major-minor }} steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: # The base of the comparison is in the history. fetch-depth: 0 persist-credentials: false - name: Checkout workflow parts - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: devpro/github-workflow-parts # The caller being this repository, the actions under test are those of the commit under test. diff --git a/.github/workflows/reusable-helm-publication.yml b/.github/workflows/reusable-helm-publication.yml index 29e6aed..5cba13a 100644 --- a/.github/workflows/reusable-helm-publication.yml +++ b/.github/workflows/reusable-helm-publication.yml @@ -53,13 +53,13 @@ jobs: steps: # The whole history and every branch, as chart-releaser adds a worktree of the Pages branch from the remote one. - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 # chart-releaser pushes with a URL carrying its own token. persist-credentials: false - name: Checkout workflow parts - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: devpro/github-workflow-parts # The caller being this repository, the actions under test are those of the commit under test. @@ -133,7 +133,7 @@ jobs: # The Pages branch is read again, as the index pushed above is not in the clone. - name: Checkout the Pages branch - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ inputs.pages-branch }} path: pages-site @@ -146,7 +146,7 @@ jobs: working-directory: pages-site run: helm-repo-html --input index.yaml --template index.tpl --output index.html - name: Upload the site - uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 + uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 with: path: pages-site @@ -163,4 +163,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1 + uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1 diff --git a/.github/workflows/reusable-markup-lint.yml b/.github/workflows/reusable-markup-lint.yml index 0cfe603..bd4fdac 100644 --- a/.github/workflows/reusable-markup-lint.yml +++ b/.github/workflows/reusable-markup-lint.yml @@ -34,10 +34,9 @@ jobs: working-directory: ${{ inputs.working-directory }} steps: - name: Check out repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - # The linters are pinned, so that a new release changes the verdict on a repository only when this one moves to it. - name: Lint Markdown files run: npx --yes markdownlint-cli2@0.24.0 "**/*.md" - name: Lint YAML files @@ -46,23 +45,24 @@ jobs: env: SHELLCHECK_ARCH: ${{ runner.arch == 'ARM64' && 'aarch64' || 'x86_64' }} run: | - # ShellCheck publishes no checksum file, so the SHA256 of each archive is pinned here, as GitHub reports it for the release assets. + # pins the SHA256 of each archive as ShellCheck publishes no checksum file (GitHub reports it for the release assets) shellcheck_version="v0.11.0" declare -A shellcheck_sha256=( [x86_64]="b7af85e41cc99489dcc21d66c6d5f3685138f06d34651e6d34b42ec6d54fe6f6" [aarch64]="68a8133197a50beb8803f8d42f9908d1af1c5540d4bb05fdfca8c1fa47decefc" ) archive="${RUNNER_TEMP}/shellcheck.tar.gz" - curl -fsSL --proto "=https" --tlsv1.2 -o "$archive" "https://github.com/koalaman/shellcheck/releases/download/${shellcheck_version}/shellcheck-${shellcheck_version}.linux.${SHELLCHECK_ARCH}.tar.gz" + curl -fsSL --proto "=https" --tlsv1.2 -o "$archive" \ + "https://github.com/koalaman/shellcheck/releases/download/${shellcheck_version}/shellcheck-${shellcheck_version}.linux.${SHELLCHECK_ARCH}.tar.gz" echo "${shellcheck_sha256[$SHELLCHECK_ARCH]} ${archive}" | sha256sum --check --strict tar -xzf "$archive" -C "$RUNNER_TEMP" shellcheck="${RUNNER_TEMP}/shellcheck-${shellcheck_version}/shellcheck" - # A script without the .sh extension, such as a Git hook, is found by its shebang. + # finds a script without the .sh extension, such as a Git hook, by its shebang mapfile -t scripts < <(git ls-files -z | xargs -0 -r awk 'FNR == 1 { if (FILENAME ~ /\.sh$/ || /^#!.*[\/ ](ba)?sh([ \t]|$)/) print FILENAME; nextfile }') if [[ ${#scripts[@]} -eq 0 ]]; then echo "No shell script to lint" exit 0 fi "$shellcheck" --version - # A sourced file is resolved from the directory of its script, as it is at run time, so it is checked rather than reported as not followed. + # checks, rather than reports as not followed, because a sourced file is resolved from the directory of its script "$shellcheck" --external-sources --source-path=SCRIPTDIR "${scripts[@]}" diff --git a/.github/workflows/reusable-node-quality.yml b/.github/workflows/reusable-node-quality.yml index 37a20c6..70ccba8 100644 --- a/.github/workflows/reusable-node-quality.yml +++ b/.github/workflows/reusable-node-quality.yml @@ -168,12 +168,12 @@ jobs: echo "$ADDITIONAL_VARS" >> "$GITHUB_ENV" fi - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 persist-credentials: false - name: Checkout workflow parts - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: devpro/github-workflow-parts # The caller being this repository, the actions under test are those of the commit under test. @@ -188,7 +188,7 @@ jobs: mkdir -p "$(dirname "$exclude")" echo "/workflow-parts/" >> "$exclude" - name: Setup Node.js - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: ${{ inputs.node-version }} # The npm cache is keyed on the lock file, which a package without dependencies does not have. @@ -209,7 +209,7 @@ jobs: echo "store-path=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT" - name: Cache pnpm store if: inputs.pnpm-version != '' - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ${{ steps.pnpm.outputs.store-path }} key: pnpm-${{ runner.os }}-${{ hashFiles(format('{0}/pnpm-lock.yaml', inputs.working-directory)) }} @@ -312,7 +312,7 @@ jobs: target-path: ${{ inputs.working-directory }} - name: Archive test results if: always() - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: node-test-results # The usual folders of the coverage and of Playwright, those of a workspace included, and report for anything else, a custom test's server log for instance. diff --git a/.github/workflows/reusable-npm-publication.yml b/.github/workflows/reusable-npm-publication.yml index 6f63896..344ffc2 100644 --- a/.github/workflows/reusable-npm-publication.yml +++ b/.github/workflows/reusable-npm-publication.yml @@ -78,11 +78,11 @@ jobs: version: ${{ steps.publish.outputs.version }} steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Checkout workflow parts - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: devpro/github-workflow-parts # The caller being this repository, the actions under test are those of the commit under test. @@ -90,7 +90,7 @@ jobs: path: workflow-parts persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: ${{ inputs.node-version }} # Writes the .npmrc that npm publish and npm view authenticate with. diff --git a/.github/workflows/reusable-pages-deployment.yml b/.github/workflows/reusable-pages-deployment.yml index d008fbc..d6840f9 100644 --- a/.github/workflows/reusable-pages-deployment.yml +++ b/.github/workflows/reusable-pages-deployment.yml @@ -91,13 +91,13 @@ jobs: echo "$ADDITIONAL_VARS" >> "$GITHUB_ENV" fi - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: ${{ inputs.fetch-depth }} persist-credentials: false - name: Checkout workflow parts if: inputs.task-enabled - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: devpro/github-workflow-parts # The caller being this repository, the actions under test are those of the commit under test. @@ -109,7 +109,7 @@ jobs: uses: ./workflow-parts/actions/task/setup - name: Setup Node.js if: inputs.node-version != '' - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: ${{ inputs.node-version }} # The npm cache is keyed on the lock file, which a site installing its tools globally does not have. @@ -136,7 +136,7 @@ jobs: run: test -s "${SITE_PATH}/index.html" - name: Upload the site if: inputs.deploy - uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 + uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 with: path: ${{ inputs.working-directory }}/${{ inputs.site-path }} @@ -154,4 +154,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1 + uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1 diff --git a/.github/workflows/reusable-terraform-deployment.yml b/.github/workflows/reusable-terraform-deployment.yml index 2e85759..30de397 100644 --- a/.github/workflows/reusable-terraform-deployment.yml +++ b/.github/workflows/reusable-terraform-deployment.yml @@ -101,11 +101,11 @@ jobs: - 8080:8080 steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Checkout workflow parts - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: devpro/github-workflow-parts # The caller being this repository, the actions under test are those of the commit under test. @@ -137,7 +137,7 @@ jobs: # Shell code by contract, run from a variable rather than pasted into the script by GitHub. run: eval "$CUSTOM_COMMANDS" - name: Cache Terraform plugins - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: | ~/.terraform.d/plugin-cache diff --git a/.github/workflows/reusable-terraform-quality.yml b/.github/workflows/reusable-terraform-quality.yml index 0bf2271..7e3ed85 100644 --- a/.github/workflows/reusable-terraform-quality.yml +++ b/.github/workflows/reusable-terraform-quality.yml @@ -39,11 +39,11 @@ jobs: working-directory: ${{ inputs.working-directory }} steps: - name: Clone repository - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Checkout workflow parts - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: devpro/github-workflow-parts # The caller being this repository, the actions under test are those of the commit under test. @@ -51,7 +51,7 @@ jobs: path: workflow-parts persist-credentials: false - name: Cache Terraform plugins - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: | ~/.terraform.d/plugin-cache @@ -74,13 +74,13 @@ jobs: continue-on-error: true # needs GitHub code security > code scanning, not available on private repos # - name: Upload SARIF file - # uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1 + # uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 # if: success() || failure() # with: # sarif_file: results.sarif # TFLint is a pluggable terraform linter (ref. https://github.com/terraform-linters/tflint) - name: Cache TFLint plugins - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.tflint.d/plugins key: tflint-${{ hashFiles('**/.tflint.hcl') }} @@ -105,7 +105,7 @@ jobs: output-file: trivy-results.sarif severity: HIGH,CRITICAL - name: Upload SARIF as artifact - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 if: always() with: name: security-results diff --git a/.istarci.yml b/.istarci.yml index 0df94be..6a9b5e3 100644 --- a/.istarci.yml +++ b/.istarci.yml @@ -1,27 +1,18 @@ -# IstarCI configuration, read from the root of the repository. - runner: - # The .NET jobs need the SDK, which a hosted runner has and the default image does not. images: "test-dotnet-*": ghcr.io/devpro/ubuntu-dotnet:latest - # The npm test runs npm, and the Playwright one needs the system packages of the browser, which a local run cannot install without root. test-npm-publish: ghcr.io/devpro/debian-node:latest test-playwright-install: ghcr.io/devpro/debian-node-playwright:latest test-node-quality-npm: ghcr.io/devpro/debian-node-playwright:latest test-node-quality-pnpm: ghcr.io/devpro/debian-node:latest test-node-quality-sonar: ghcr.io/devpro/debian-node-playwright:latest test-npm-publication: ghcr.io/devpro/debian-node:latest - # The Go actions need the Go toolchain, which setup-go installs on GitHub and a local run takes from the SUSE image, rebuilt with the Debian fixes the official one still lacks at times. test-go-lint-govulncheck-scan: registry.suse.com/bci/golang:1.27 - # The container scan workflow builds an image through the host Docker daemon, as a hosted runner does, and Cosign reads a digest with the Docker CLI. docker: ["test-container-scan-on-base*", "test-cosign-sign*", "test-container-build-push*"] - # The Sonar paths of the .NET and Node.js quality workflows and of the Sonar action run against a SonarQube of this machine, which GitHub does not have. sonarqube: true workflow: - # Registering an emulator changes the kernel of the machine, which a local run leaves alone. skipJobs: [test-qemu-setup] vars: - # The local SonarQube has no organization, which only SonarCloud needs. SONAR_ORGANIZATION: "" diff --git a/actions/chart-releaser/setup/action.yml b/actions/chart-releaser/setup/action.yml index 2dfe726..ff2d354 100644 --- a/actions/chart-releaser/setup/action.yml +++ b/actions/chart-releaser/setup/action.yml @@ -8,15 +8,15 @@ inputs: chart-releaser-version: description: Version of chart-releaser to install, v1.9.0 or later for a repository with immutable releases (check latest from https://github.com/helm/chart-releaser/releases) required: false - default: "v1.9.0" + default: "v1.10.1" chart-releaser-sha256: description: SHA256 of the chart-releaser archive for x64, given with any other chart-releaser-version required: false - default: "8131cb6016e2bcc9e4f63cadfdd7026ae3fa4d2c4d319f4cb72ff3c6a43a5a36" + default: "ce46baf9975d10193b7070b2b7406750c3f664181e36df3f3bbb4a00be40dc1b" # v1.10.1 chart-releaser-sha256-arm64: description: SHA256 of the chart-releaser archive for arm64, given with any other chart-releaser-version required: false - default: "fb01f90a8097083bcdd14de0ef8976c42ddfba302ded3a395464857eb832d036" + default: "a52a067a56a6e2dc295b250a32692a0fbb5b96b69516a89f38c8dc30dd130921" # v1.10.1 runs: using: "composite" diff --git a/actions/codeql/setup/action.yml b/actions/codeql/setup/action.yml index 13d63cf..5560cd8 100644 --- a/actions/codeql/setup/action.yml +++ b/actions/codeql/setup/action.yml @@ -8,7 +8,7 @@ inputs: codeql-version: description: Version of the CodeQL bundle to install, without its leading v (check latest from https://github.com/github/codeql-action/releases) required: false - default: "2.27.3" + default: "2.27.4" runs: using: "composite" diff --git a/actions/dotnet/build-test-sonar/action.yml b/actions/dotnet/build-test-sonar/action.yml index 8bd3eed..07b7436 100644 --- a/actions/dotnet/build-test-sonar/action.yml +++ b/actions/dotnet/build-test-sonar/action.yml @@ -59,13 +59,13 @@ runs: using: "composite" steps: - name: Set up JDK for Sonar - uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0 + uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0 with: java-version: ${{ inputs.java-version }} distribution: "zulu" # The analyzers Sonar downloads land in its user home. - name: Cache Sonar packages - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar @@ -73,7 +73,7 @@ runs: # Keyed by version with no fallback, since a scanner restored from another key would be another version. - name: Cache Sonar scanner id: cache-sonar-scanner - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ./.sonar/scanner key: ${{ runner.os }}-sonar-scanner-${{ inputs.sonarscanner-version }} diff --git a/actions/dotnet/install-lint-restore/action.yml b/actions/dotnet/install-lint-restore/action.yml index 9daf962..bc936c8 100644 --- a/actions/dotnet/install-lint-restore/action.yml +++ b/actions/dotnet/install-lint-restore/action.yml @@ -9,7 +9,7 @@ inputs: reportgenerator-version: description: Version of ReportGenerator (check latest from https://www.nuget.org/packages/dotnet-reportgenerator-globaltool) required: false - default: "5.5.11" + default: "5.5.12" working-directory: description: Directory of the .NET code, relative to the workspace, which a composite action does not take from the defaults of the calling job required: false @@ -19,7 +19,7 @@ runs: using: "composite" steps: - name: Install .NET - uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0 + uses: actions/setup-dotnet@0f4a354dd5547a28c70b7853dbd95d5b67886e73 # v6.1.0 with: dotnet-version: ${{ inputs.dotnet-version }} - name: Install .NET linters diff --git a/actions/dotnet/pack-push/action.yml b/actions/dotnet/pack-push/action.yml index f73c725..1db24e4 100644 --- a/actions/dotnet/pack-push/action.yml +++ b/actions/dotnet/pack-push/action.yml @@ -26,7 +26,7 @@ runs: using: "composite" steps: - name: Install .NET - uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0 + uses: actions/setup-dotnet@0f4a354dd5547a28c70b7853dbd95d5b67886e73 # v6.1.0 with: dotnet-version: ${{ inputs.dotnet-version }} - name: Package diff --git a/actions/fossa/analyze/action.yml b/actions/fossa/analyze/action.yml index 2e0c85e..e3c0ebd 100644 --- a/actions/fossa/analyze/action.yml +++ b/actions/fossa/analyze/action.yml @@ -9,7 +9,7 @@ inputs: fossa-version: description: Version of the FOSSA CLI to install (check latest from https://github.com/fossas/fossa-cli/releases) required: false - default: "3.20.7" + default: "3.20.10" api-key: description: FOSSA API key required: true diff --git a/actions/goreleaser/setup/action.yml b/actions/goreleaser/setup/action.yml index 8e8b4b1..ffa04ee 100644 --- a/actions/goreleaser/setup/action.yml +++ b/actions/goreleaser/setup/action.yml @@ -8,7 +8,7 @@ inputs: goreleaser-version: description: Version of GoReleaser to install (check latest from https://github.com/goreleaser/goreleaser/releases) required: false - default: "2.19.0" + default: "2.20.0" runs: using: "composite" diff --git a/actions/helm-repo-html/setup/action.yml b/actions/helm-repo-html/setup/action.yml index 06c9ae6..499f8c0 100644 --- a/actions/helm-repo-html/setup/action.yml +++ b/actions/helm-repo-html/setup/action.yml @@ -13,11 +13,11 @@ inputs: helm-repo-html-sha256: description: SHA256 of the helm-repo-html archive for x64, given with any other helm-repo-html-version required: false - default: "d83d96899dc79986336e6fa32ffd9245c487510dd458c741fceb1eaadcff4168" + default: "d83d96899dc79986336e6fa32ffd9245c487510dd458c741fceb1eaadcff4168" # v0.2.1 helm-repo-html-sha256-arm64: description: SHA256 of the helm-repo-html archive for arm64, given with any other helm-repo-html-version required: false - default: "338bd99388ad672cb3bdb2cf8c16d23db66b9ac3b8951a660e2e9fd460bbfb95" + default: "338bd99388ad672cb3bdb2cf8c16d23db66b9ac3b8951a660e2e9fd460bbfb95" # v0.2.1 runs: using: "composite" diff --git a/actions/kind/setup/action.yml b/actions/kind/setup/action.yml index d9ed5ff..0ff5390 100644 --- a/actions/kind/setup/action.yml +++ b/actions/kind/setup/action.yml @@ -13,7 +13,7 @@ inputs: kubectl-version: description: Version of kubectl to install, within one minor version of the clusters it talks to (check latest from https://dl.k8s.io/release/stable.txt) required: false - default: "v1.37.1" + default: "v1.37.2" runs: using: "composite" diff --git a/actions/kube-linter/setup/action.yml b/actions/kube-linter/setup/action.yml index f14db84..85978b1 100644 --- a/actions/kube-linter/setup/action.yml +++ b/actions/kube-linter/setup/action.yml @@ -12,11 +12,11 @@ inputs: kube-linter-sha256: description: SHA256 of the kube-linter archive for x64, given with any other kube-linter-version, since its release publishes no checksum file required: false - default: "1a6d8419b11971372971fdbc22682b684ebfb7cf1c39591662d1b6ca736c41df" + default: "1a6d8419b11971372971fdbc22682b684ebfb7cf1c39591662d1b6ca736c41df" # v0.8.3 kube-linter-sha256-arm64: description: SHA256 of the kube-linter archive for arm64, given with any other kube-linter-version required: false - default: "802e1b09eabd08f6f0a060a6b8ab2bf7bc7e6bf4f673bb2692303704c84b3e22" + default: "802e1b09eabd08f6f0a060a6b8ab2bf7bc7e6bf4f673bb2692303704c84b3e22" # v0.8.3 runs: using: "composite" diff --git a/actions/mongodb/start/action.yml b/actions/mongodb/start/action.yml index 7fd0688..dfd9439 100644 --- a/actions/mongodb/start/action.yml +++ b/actions/mongodb/start/action.yml @@ -13,15 +13,15 @@ inputs: mongosh-version: description: Version of mongosh (check latest from https://github.com/mongodb-js/mongosh/releases) required: false - default: "2.14.0" + default: "2.14.1" mongosh-sha256: description: SHA256 of the mongosh archive for x64, given with any other mongosh-version, since its release publishes no checksum file required: false - default: "c1c5f1a9709e91c5eb1c6861a99c305c165fa564afb465fabfd2b2334c08a23c" + default: "8d24940ebe3675959b518fd41ea16b4e2182d6a75c09777db09cfa64e18834a1" # 2.14.1 mongosh-sha256-arm64: description: SHA256 of the mongosh archive for arm64, given with any other mongosh-version required: false - default: "3c6a3631667f9caf0a7b5dfe87e433f973f0a82f2cf04130cd52115076e945e4" + default: "cd7f1ae986baa400b021a2c0688aa3b64d6afcc3f7ab07833417a049e0cbf98b" # 2.14.1 port: description: Port the server listens on required: false diff --git a/actions/opengrep/setup/action.yml b/actions/opengrep/setup/action.yml index 3294030..643ffd5 100644 --- a/actions/opengrep/setup/action.yml +++ b/actions/opengrep/setup/action.yml @@ -8,15 +8,15 @@ inputs: opengrep-version: description: Version of Opengrep to install (check latest from https://github.com/opengrep/opengrep/releases) required: false - default: "v1.32.0" + default: "v1.33.1" opengrep-sha256: description: SHA256 of the Opengrep binary for x64, given with any other opengrep-version, since its release publishes no checksum file required: false - default: "7360d60174880bd9214f2dfbe439b7bce82b7a3d44cfe945ba833c85cc8bda75" + default: "46e8133cc490f9f50518061590ce2f6be5a08afaeda034471c0ceda4b3899808" # v1.33.1 opengrep-sha256-arm64: description: SHA256 of the Opengrep binary for arm64, given with any other opengrep-version required: false - default: "dc6229319c0d68948733053786a5614873947e5ec1d4669cc0e94ae9038cb99d" + default: "d1433f63a90b8bc0b6ad4b498a13b372b856ce9a754a43484ba4920fe2d76dcf" # v1.33.1 runs: using: "composite" diff --git a/actions/sonar/scan/action.yml b/actions/sonar/scan/action.yml index 7eb3f4c..2631402 100644 --- a/actions/sonar/scan/action.yml +++ b/actions/sonar/scan/action.yml @@ -9,15 +9,15 @@ inputs: scanner-version: description: Version of the Sonar scanner CLI (check latest from https://github.com/SonarSource/sonar-scanner-cli/releases) required: false - default: "8.2.0.6438" + default: "8.3.1.16491" scanner-sha256: description: SHA256 of the scanner archive for x64, given with any other scanner-version required: false - default: "83257bf97a475d626b8ba2b214aeeb37334ca84db1b3e3be5105783e4facb053" + default: "0f304e4c5982f0cfbd06762306d6e60e6ed9c8e3853629ae3b8ec2f4dc9bdc04" # 8.3.1.16491 scanner-sha256-arm64: description: SHA256 of the scanner archive for arm64, given with any other scanner-version required: false - default: "3add94b481f1d541897b8d667f4c0e86bc7855bd3eaeb1a7c9ee5f162b909e6e" + default: "aca51f414a581b8f088207e089f281b1b2985fb202160e8ca2e135a305639d26" # 8.3.1.16491 coverage-paths: description: lcov reports of the coverage, relative to the working directory, separated by commas, coverage/lcov.info when empty and the project has no sonar-project.properties required: false @@ -76,7 +76,7 @@ runs: echo "${RUNNER_TEMP}/sonar-scanner/bin" >> "$GITHUB_PATH" # The analyzers Sonar downloads land in its user home. - name: Cache Sonar packages - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar diff --git a/actions/syft/generate-sbom/action.yml b/actions/syft/generate-sbom/action.yml index c8cfc4c..7715bec 100644 --- a/actions/syft/generate-sbom/action.yml +++ b/actions/syft/generate-sbom/action.yml @@ -9,7 +9,7 @@ inputs: syft-version: description: Version of Syft to install (check latest from https://github.com/anchore/syft/releases) required: false - default: "1.55.0" + default: "1.56.0" target-image: description: Container image reference to scan (mutually exclusive with target-path) required: false @@ -100,7 +100,7 @@ runs: syft "$SOURCE" "${args[@]}" -o "${OUTPUT_FORMAT}=${OUTPUT_FILE}" - name: Upload SBOM as artifact if: ${{ inputs.upload-artifact == 'true' }} - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: ${{ inputs.artifact-name }} path: ${{ inputs.output-file }} diff --git a/actions/terraform/setup/action.yml b/actions/terraform/setup/action.yml index 79ae72a..1a0a5b0 100644 --- a/actions/terraform/setup/action.yml +++ b/actions/terraform/setup/action.yml @@ -8,7 +8,7 @@ inputs: terraform-version: description: Version of Terraform to install (check latest from https://releases.hashicorp.com/terraform/) required: false - default: "1.17.0" + default: "1.17.1" runs: using: "composite" diff --git a/test/check_workflow_parts.py b/test/check_workflow_parts.py index c01951a..efda25c 100755 --- a/test/check_workflow_parts.py +++ b/test/check_workflow_parts.py @@ -39,7 +39,7 @@ SECRET_REFERENCE = re.compile(r"\bsecrets\.([A-Za-z0-9_-]+)") ACTION_REFERENCE = re.compile(r"^actions/[a-z0-9-]+@[0-9a-f]{40}$") # A tag can be moved to another commit, a commit cannot, and the comment tells which release it is. -PINNED_LINE = re.compile(r"uses: actions/[a-z0-9-]+@[0-9a-f]{40} # v\d+\.\d+\.\d+$") +PINNED_LINE = re.compile(r"uses: actions/[a-z0-9-]+@[0-9a-f]{40} {2,}# v\d+\.\d+\.\d+$") failures = [] @@ -251,7 +251,7 @@ def check_references(path, document): name = relative(path) for number, line in enumerate(path.read_text(encoding="utf-8").splitlines(), 1): if "uses: actions/" in line and not PINNED_LINE.search(line): - fail(f"{name}:{number}", "pins a first party action otherwise than to a full commit SHA followed by '# vX.Y.Z'") + fail(f"{name}:{number}", "pins a first party action otherwise than to a full commit SHA followed by two spaces and '# vX.Y.Z'") references = [step for step in steps_of(document) if "uses" in step] references += [job for job in (document.get("jobs") or {}).values() if "uses" in job] for item in references: diff --git a/test/fixtures/container/base/Dockerfile b/test/fixtures/container/base/Dockerfile index dd3ca4f..77cc09e 100644 --- a/test/fixtures/container/base/Dockerfile +++ b/test/fixtures/container/base/Dockerfile @@ -1,3 +1,3 @@ # A base image marked as built by this run, which the derived image checks it was built on. -FROM busybox:1.37 +FROM busybox:1.38 RUN echo built-in-this-run > /base-marker