Skip to content

Commit

Permalink
added repolint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitiz-okahu committed Jul 8, 2024
1 parent 3d4f6f1 commit 9015fff
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions .github/workflows/repolinter.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
name: "repolinter"


name: Repolinter

on:
push:
branches: [ "kshitiz/prasad_setup_progress" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "kshitiz/prasad_setup_progress" ]
schedule:
- cron: '17 14 * * 3'
- cron: '18 8 * * 0'

jobs:
eslint:
name: Run repolinter
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
steps:
- name: Checkout code
uses: actions/checkout@v4

description: "Runs the TODO group's REPOLINTER over your repository"
branding:
icon: "check"
color: "green"
- name: Install Repolint
run: |
npm install -g repolint
runs:
using: "docker"
image: "Dockerfile"
- name: Run ESLint
run: repolint lint .
continue-on-error: true

0 comments on commit 9015fff

Please sign in to comment.