Comments (11)
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.
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.
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.
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.
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.
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 versionv6.4.1
The repo changed organization, from github to super-linter. See #5570 (comment)
from super-linter.
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.
getting an startup failure
from super-linter.
Please find the latest log
5_Lint Code Base.txt
The workflow file worked with github/super-linter@v6
from super-linter.
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.
Hey @ferrarimarco ,
Can we setup a call and see the issue there?
from super-linter.
Related Issues (20)
- Remove color code from super-linter stdout and logfile when not needed HOT 11
- JSCPD Failures on Minor Update v6.3.1 --> v6.4.0 HOT 2
- Prevent Failures from New Linters in Minor Releases HOT 7
- Unable to remove .ruff_cache folder HOT 3
- Support Android linter HOT 1
- Behavior not supported, please either only include (VALIDATE=true) or exclude (VALIDATE=false) linters, but not both HOT 7
- Failed to deploy to production
- Support configuring the GitHub server URL HOT 5
- JSCPR yielding errors on files in excluded directory HOT 3
- Make the output of each linter available to users for further processing HOT 2
- v6 failing for missing default branch HOT 9
- Thank you super-linter contributors (2024-04-01..2024-04-30) HOT 1
- Missing Scope in GITHUB_ACTIONS Checks HOT 1
- Update Golang linter configuration to avoid the deprecated `linters.govet.check-shadowing` option HOT 1
- Don't require the full Git history HOT 4
- Accept an option to dump log output to github Job Summaries HOT 5
- Check: CKV2_GHA_1: "Ensure top-level permissions are not set to write-all" HOT 1
- `docs/disabling-linters.md` removed in `v6` — is this expected? HOT 3
- Configure a non-root user HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from super-linter.