Skip to content

Commit

Permalink
Create linters.yml
Browse files Browse the repository at this point in the history
Add SuperLinter base configuration
  • Loading branch information
rjmurillo authored Jun 15, 2024
1 parent 9b6f01c commit c57fd0e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Lint

on: # yamllint disable-line rule:truthy
push: null
pull_request: null

permissions: { }

jobs:
build:
name: Lint
runs-on: ubuntu-latest

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

steps:
- 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

- name: Super-linter
uses: super-linter/super-linter@v6.6.0 # x-release-please-version

Check warning on line 29 in .github/workflows/linters.yml

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

.github/workflows/linters.yml#L29

An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release.
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c57fd0e

Please sign in to comment.