Skip to content

Commit

Permalink
Updating linter
Browse files Browse the repository at this point in the history
  • Loading branch information
cmansfield85 committed Dec 11, 2024
1 parent 58a79c9 commit 020c763
Showing 1 changed file with 22 additions and 37 deletions.
59 changes: 22 additions & 37 deletions .github/workflows/Github_Super_Linter.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,33 @@
---
############################
############################
## Linter GitHub Actions ###
############################
############################
name: Lint Code Base
name: Lint

#
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
#
on: # yamllint disable-line rule:truthy
push: null
pull_request: null

#############################
# Start the job on all push #
#############################
on: [push, pull_request]
permissions: {}

###############
# Set the Job #
###############
jobs:
build:
# Name the Job
name: Lint Code Base
# Set the agent to run on
name: Lint
runs-on: ubuntu-latest

##################
# Load all steps #
##################
permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write

steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v2
- name: Checkout code
uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0

################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: docker://github/super-linter:v3
- name: Super-linter
uses: super-linter/[email protected] # x-release-please-version
env:
VALIDATE_ALL_CODEBASE: true
VALIDATE_RUBY : true
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 020c763

Please sign in to comment.