support not generating heimdall-signer-cert #295
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
| --- | |
| # Copyright The Linux Foundation and each contributor to LFX. | |
| # SPDX-License-Identifier: MIT | |
| name: MegaLinter | |
| "on": | |
| pull_request: null | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.ref }}-${{ github.workflow }} | |
| cancel-in-progress: true | |
| jobs: | |
| megalinter: | |
| name: MegaLinter | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| # Git Checkout | |
| - name: Checkout Code | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
| with: | |
| fetch-depth: 0 | |
| # Installs packaged subcharts under charts/*/charts/*.tgz. Also | |
| # fails if the Chart.lock digest is wrong. | |
| - name: Helm dependency fetch | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| for chart in charts/*; do | |
| if [ -f "${chart}/Chart.lock" ]; then | |
| yq -r '.dependencies[] | select(.repository | contains("oci://") == false) | "\(.name) \(.repository)"' \ | |
| "${chart}/Chart.yaml" | xargs -L1 helm repo add --force-update | |
| helm dependency build "${chart}" | |
| fi | |
| done | |
| # MegaLinter | |
| - name: MegaLinter | |
| id: ml | |
| # Use the Documentation flavor. | |
| uses: oxsecurity/megalinter/flavors/documentation@5a91fb06c83d0e69fbd23756d47438aa723b4a5a # 8.7.0 | |
| env: | |
| # All available variables are described in documentation | |
| # https://megalinter.io/configuration/ | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # Allow GITHUB_TOKEN for working around rate limits (aquasecurity/trivy#7668). | |
| REPOSITORY_TRIVY_UNSECURED_ENV_VARIABLES: GITHUB_TOKEN |