Skip to content

Commit

Permalink
chore: restore linters.yml workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Jennifer Power <[email protected]>
  • Loading branch information
jpower432 committed Sep 12, 2024
1 parent c218cd8 commit ff40b52
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---

name: MegaLinter

on:
push:
pull_request:
branches:
- main

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

View workflow job for this annotation

GitHub Actions / MegaLinter

9:6 [indentation] wrong indentation: expected 6 but found 5

Check failure on line 10 in .github/workflows/linters.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

10:1 [trailing-spaces] trailing spaces
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

Check failure on line 14 in .github/workflows/linters.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

14:1 [trailing-spaces] trailing spaces
jobs:
lint:
name: MegaLinter
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Checkout Code
uses: actions/checkout@v4

Check failure on line 25 in .github/workflows/linters.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

25:1 [trailing-spaces] trailing spaces
- name: MegaLinter
id: ml
uses: oxsecurity/megalinter@v7
env:
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

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

View workflow job for this annotation

GitHub Actions / MegaLinter

31:52 [new-line-at-end-of-file] no new line character at the end of file

0 comments on commit ff40b52

Please sign in to comment.