[LFXV2-456] feat: Add QueryResourcesCount API endpoint #46
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 | |
| # MegaLinter | |
| - name: MegaLinter | |
| id: ml | |
| # Use the Go flavor. | |
| uses: oxsecurity/megalinter/flavors/go@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 |