Skip to content

Commit 6a51520

Browse files
update readme and add lint CI for eslint
1 parent 872ca50 commit 6a51520

2 files changed

Lines changed: 34 additions & 1 deletion

File tree

‎.github/workflows/eslint.yml‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Lint
2+
3+
on:
4+
# Replace pull_request with pull_request_target if you
5+
# plan to use this action with forks, see the Limitations section
6+
pull_request:
7+
branches:
8+
- develop
9+
10+
# Down scope as necessary via https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
11+
permissions:
12+
checks: write
13+
contents: read
14+
15+
jobs:
16+
run-eslint:
17+
name: Run eslint
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Check out Git repository
22+
uses: actions/checkout@v7
23+
24+
- name: Set up Node.js
25+
uses: actions/setup-node@v7
26+
with:
27+
node-version: 25
28+
29+
- name: Install Node.js dependencies
30+
run: npm ci
31+
32+
- name: Run eslint
33+
run: npm run lint

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ python -m gunicorn
7373
You must create `config.py` in the top-level directory with the appropriate credentials for the application to run. See `config.env.py` for an example.
7474

7575
### Add OIDC Config
76-
Reach out to an RTP to get OIDC credentials that will allow you to develop locally behind OIDC auth
76+
Check the [SSO wiki page](https://wiki.csh.rit.edu/wiki/SSO#Where_can_I_get_credentials?) for development credentials.
7777
```py
7878
# OIDC Config
7979
OIDC_ISSUER = "https://sso.csh.rit.edu/auth/realms/csh"

0 commit comments

Comments
 (0)