Skip to content

Revert "Do not fail check if PyTorch HUD API is down (#37)" #88

Revert "Do not fail check if PyTorch HUD API is down (#37)"

Revert "Do not fail check if PyTorch HUD API is down (#37)" #88

Workflow file for this run

---
# Copyright The Linux Foundation and each contributor.
# SPDX-License-Identifier: MIT
# Allow unpinned actions (no SHA) for both MegaLinter and codeql-action.
# kics-scan disable=555ab8f9-2001-455e-a077-f2d0f41e2fb9
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:
actions: read
contents: read
security-events: write
steps:
# Git Checkout
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
# MegaLinter
- name: MegaLinter
id: ml
# Use "cupcake" slim flavor which supports both Terraform and
# Javascript.
uses: oxsecurity/megalinter/flavors/cupcake@bacb5f8674e3730b904ca4d20c8bd477bc51b1a7 # v7.13.0
env:
# All available variables are described in documentation
# https://megalinter.io/configuration/
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# tflint needs the token for `init` fetching modules
# (oxsecurity/megalinter#2699).
TERRAFORM_TFLINT_UNSECURED_ENV_VARIABLES: GITHUB_TOKEN
#- name: Upload MegaLinter scan results to GitHub Security tab
# if: success() || failure()
# uses: github/codeql-action/upload-sarif@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
# with:
# sarif_file: 'megalinter-reports/megalinter-report.sarif'