Giter Club home page Giter Club logo

Comments (11)

ferrarimarco avatar ferrarimarco commented on June 16, 2024

Hi @MSS2114 .

Based on the Host key verification failed. error, I would try setting SSH_SETUP_GITHUB to true in your super-linter configuration and try again.

from super-linter.

MSS2114 avatar MSS2114 commented on June 16, 2024

Can you please suggest where I need to give this value in below workflow file -
name: Terraform Linter
on:
workflow_dispatch:
inputs:
deployment_environment:
required: true
type: string
description: Please type the region you want to deploy in
jobs:
lint_and_analyze:
name: Linting and source code analysis
runs-on: fixed-ip-runner-4core
environment:
name: ${{inputs.deployment_environment}}
permissions:
contents: read
pull-requests: write

  steps:
    - name: Checkout code
      uses: actions/checkout@v2
    
      
    - name: Lint Code Base
      uses: github/super-linter@v5
      with: 
        github_token: ${{ secrets.GITHUB_TOKEN }}
        
      env:
        VALIDATE_ALL_CODEBASE: true
        DEFAULT_BRANCH: main
        GITHUB_TOKEN: ${{ github.token }}
        VALIDATE_PYTHON_BLACK: false
        VALIDATE_PYTHON_ISORT: false
        VALIDATE_PYTHON_MYPY: false
        VALIDATE_NATURAL_LANGUAGE: false
        VALIDATE_MARKDOWN: false
        VALIDATE_JSCPD: false
        VALIDATE_GITHUB_ACTIONS: false # Fails when scanning tf security scan action erroneously
        FILTER_REGEX_EXCLUDE: .*.app-servers.tf
        #FILTER_REGEX_EXCLUDE: '.*[.](providers.tf|[email protected])$' # Due to errors scanning providers containing terraform configuration_aliases 

from super-linter.

echoix avatar echoix commented on June 16, 2024

Could it be one of the two downtimes on GitHub in the last hours? Most of my actions were failing, especially when installing dependencies.

https://www.githubstatus.com/incidents/7txcg0j03kkg

https://www.githubstatus.com/incidents/r7641l07b67v

from super-linter.

ferrarimarco avatar ferrarimarco commented on June 16, 2024

I would add it in the last env section.

Also, you need to update from github/super-linter@v5 to super-linter/[email protected]

from super-linter.

MSS2114 avatar MSS2114 commented on June 16, 2024

image
0s
Current runner version: '2.315.0'
Runner name: 'fixed-ip-runner-4core_427c841bb2a9'
Runner group name: 'Default'
Machine name: 'runner'
Operating System
Runner Image
GITHUB_TOKEN Permissions
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Error: Unable to resolve action github/super-linter@v6.[4](https://github.com/Legal-and-General-Group-Confidential/ptx-pg-infra/actions/runs/8817793163/job/24205060122#step:1:4).1, unable to find version v6.4.1

from super-linter.

echoix avatar echoix commented on June 16, 2024

image

0s

Current runner version: '2.315.0'

Runner name: 'fixed-ip-runner-4core_427c841bb2a9'

Runner group name: 'Default'

Machine name: 'runner'

Operating System

Runner Image

GITHUB_TOKEN Permissions

Secret source: Actions

Prepare workflow directory

Prepare all required actions

Getting action download info

Error: Unable to resolve action github/super-linter@v6.[4](https://github.com/Legal-and-General-Group-Confidential/ptx-pg-infra/actions/runs/8817793163/job/24205060122#step:1:4).1, unable to find version v6.4.1

The repo changed organization, from github to super-linter. See #5570 (comment)

from super-linter.

MSS2114 avatar MSS2114 commented on June 16, 2024

Error
super-linter/[email protected] is not allowed to be used in Legal-and-General-Group-Confidential/ptx-pg-infra. Actions in this workflow must be: within a repository that belongs to your Enterprise account, created by GitHub, or matching the following: aquasecurity/tfsec*, aquasecurity/tfsec-pr-commenter-action*, aws-actions/, docker/, github/, hashicorp/, microsoft/, nuget/setup-nuget, veracode/, azure/, helm/chart-releaser-action*, liquibase/liquibase-github-action*, serverless/[email protected]*, datadog/[email protected]*, sonarsource/sonarqube-scan-action*, sonarsource/sonarcloud-github-action*, octokit/, bmc-compuware/TTT-CLI-Local, nrwl/nx-set-shas*, grafana/, errata-ai/vale-action.

from super-linter.

MSS2114 avatar MSS2114 commented on June 16, 2024

getting an startup failure

from super-linter.

MSS2114 avatar MSS2114 commented on June 16, 2024

Please find the latest log
5_Lint Code Base.txt

The workflow file worked with github/super-linter@v6

from super-linter.

ferrarimarco avatar ferrarimarco commented on June 16, 2024

Hi! This looks like a configuration issue rather than a bug. Please, follow the instructions in the README.

super-linter/[email protected] is not allowed to be used in Legal-and-General-Group-Confidential/ptx-pg-infra

It looks like you need to allowlist this action to be used in your repository.

from super-linter.

MSS2114 avatar MSS2114 commented on June 16, 2024

Hey @ferrarimarco ,

Can we setup a call and see the issue there?

from super-linter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.