trying input
This commit is contained in:
2
.github/dependabot.yml
vendored
2
.github/dependabot.yml
vendored
@@ -12,4 +12,4 @@ updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "monthly"
|
||||
interval: "weekly"
|
||||
16
.github/workflows/super-linter.yaml
vendored
16
.github/workflows/super-linter.yaml
vendored
@@ -27,6 +27,11 @@ on:
|
||||
pull_request:
|
||||
# allow reuse of this workflow in other repos
|
||||
workflow_call:
|
||||
inputs:
|
||||
devops-only:
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
|
||||
permissions:
|
||||
@@ -86,6 +91,17 @@ jobs:
|
||||
run: |
|
||||
echo VALIDATE_ALL_CODEBASE=${{ !contains(github.event_name, 'pull_request') }}
|
||||
|
||||
# disable non-DevOps focused linters that might run on sample code or 3rd party code
|
||||
# these env's will get pass to the next step
|
||||
- name: Disable non-DevOps linters
|
||||
if: ${{ inputs.devops-only == true }}
|
||||
run: |
|
||||
echo "VALIDATE_CSS=false" >> $GITHUB_ENV
|
||||
echo "VALIDATE_HTML=false" >> $GITHUB_ENV
|
||||
echo "VALIDATE_JAVASCRIPT_ES=false" >> $GITHUB_ENV
|
||||
echo "VALIDATE_JAVASCRIPT_STANDARD=false" >> $GITHUB_ENV
|
||||
|
||||
|
||||
#############################
|
||||
# Run many Linters against changed files on PRs, and ALL files on commit to release branch
|
||||
#############################
|
||||
|
||||
Reference in New Issue
Block a user