chore(docs): add contact links to issue selector #4642
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
name: lint | |
on: | |
pull_request: | |
types: | |
- opened # default trigger | |
- reopened # default trigger | |
- synchronize # default trigger | |
- ready_for_review # don't run on draft PRs | |
- milestoned # allows us to trigger on bot PRs | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Validate Lint | |
uses: chartboost/ruff-action@e18ae971ccee1b2d7bbef113930f00c670b78da4 # v1.0.0 | |
with: | |
version: 0.3.4 | |
- name: Validate Formatting | |
uses: chartboost/ruff-action@e18ae971ccee1b2d7bbef113930f00c670b78da4 # v1.0.0 | |
with: | |
version: 0.3.4 | |
args: format --check | |
# Javascript & Typescript Linting | |
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 | |
with: | |
node-version-file: 'src/leapfrogai_ui/package.json' | |
- name: Install UI Dependencies | |
run: npm --prefix src/leapfrogai_ui ci | |
- name: Run UI Linter | |
run: npm --prefix src/leapfrogai_ui run lint |