-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d4f6f1
commit 9015fff
Showing
1 changed file
with
23 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |