Skip to content

Commit

Permalink
feat: adding super linter as a starting linter
Browse files Browse the repository at this point in the history
  • Loading branch information
cberg-aot committed Oct 24, 2024
1 parent f5970ab commit 2943ba6
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/.pr-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: Lint

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

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@v7.1.0 # x-release-please-version
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2943ba6

Please sign in to comment.