Skip to content

fixed linters checks #2

fixed linters checks

fixed linters checks #2

Workflow file for this run

# Copyright (c) NetApp, Inc.
# SPDX-License-Identifier: Apache-2.0
name: Lint
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Super-linter
uses: super-linter/[email protected] # x-release-please-version
env:
DEFAULT_BRANCH: main
# To report GitHub Actions status checks, you must provide a GitHub token.
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BRANCH : main

Check failure on line 31 in .github/workflows/actionlint.yml

View workflow run for this annotation

GitHub Actions / Lint

Invalid workflow file

The workflow is not valid. .github/workflows/actionlint.yml (Line: 31, Col: 13): 'DEFAULT_BRANCH' is already defined
VALIDATE_BASH : true
VALIDATE_BASH_EXEC : true
BASH_SEVERITY : "error"
VALIDATE_GITHUB_ACTIONS : true
VALIDATE_MARKDOWN : true
VALIDATE_NATURAL_LANGUAGE : true
VALIDATE_POWERSHELL : true
VALIDATE_TERRAFORM_FMT : true
VALIDATE_YAML : true