Skip to content

feat(auth): enable multiple auth methods #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 102 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
f2c1182
feat(auth): add NotAuthorized and NotFound pages
jescalada Feb 4, 2025
256523f
feat(auth): add AuthProvider and PrivateRoute wrapper
jescalada Feb 4, 2025
516ed7f
chore(auth): rename userLoggedIn endpoint
jescalada Feb 4, 2025
47e95d4
chore(auth): refactor routes to use PrivateRoute guard
jescalada Feb 4, 2025
893e0b1
fix(auth): temporary fix for username edit redirect
jescalada Feb 7, 2025
d049463
fix(auth): access user admin status correctly
jescalada Feb 7, 2025
db04af6
chore(auth): refactor /admin routes into /dashboard
jescalada Feb 11, 2025
9736801
chore(auth): rename Admin files into Dashboard
jescalada Feb 11, 2025
e7ec1f0
test(auth): Add default login redirect E2E test
jescalada Feb 11, 2025
3702acd
fix(auth): fix redirect on local login
jescalada Feb 11, 2025
f2560ab
fix(auth): improve error handling on repos page
jescalada Feb 11, 2025
24ca06f
test(auth): fix failing test (login before accessing page)
jescalada Feb 11, 2025
2146bc0
test(auth): fix login command and simplify login flow
jescalada Feb 11, 2025
884f0a6
feat(auth): refactor and improve existing auth methods
jescalada Feb 16, 2025
ce6023b
feat(auth): configure passport with all enabled auth methods
jescalada Feb 16, 2025
68fa115
test(auth): fix tests for multiple auth methods
jescalada Feb 16, 2025
0a74501
Merge branch 'oidc-implementation' into enable-multiple-auth-methods
jescalada Feb 21, 2025
627c0ea
fix(auth): refactor how auth strategies are loaded into API route mid…
jescalada Feb 21, 2025
6b96db0
Merge branch 'oidc-implementation' into layout-auth-decoupling
jescalada Mar 10, 2025
050ba17
chore(auth): fix linter issues
jescalada Mar 10, 2025
db30bef
Merge branch 'layout-auth-decoupling' into enable-multiple-auth-methods
jescalada Mar 10, 2025
b58d3a8
fix(auth): fix OIDC login e2e test
jescalada Mar 10, 2025
291c179
fix(auth): fix linter issues
jescalada Mar 10, 2025
2f19f82
fix(auth): try to fix ESM issue on openid-client import
jescalada Mar 10, 2025
1397265
Merge branch 'main' into enable-multiple-auth-methods
jescalada Apr 2, 2025
1dcc04b
fix(deps): update npm - li-cli - experimental/li-cli/package.json
renovate[bot] Apr 28, 2025
1c0816e
Merge pull request #959 from finos/renovate/li-cli-manager
JamieSlome Apr 29, 2025
ee149fa
chore(deps): update github-actions - workflows - .github/workflows/de…
renovate[bot] Apr 29, 2025
bdf0fc7
chore: run npm audit fix
JamieSlome Apr 29, 2025
c65f89f
Merge pull request #988 from finos/renovate/workflows-manager
JamieSlome Apr 29, 2025
c5715a9
Merge branch 'main' into run-npm-audit
JamieSlome Apr 29, 2025
1c0d999
Merge pull request #989 from finos/run-npm-audit
JamieSlome Apr 29, 2025
734a908
chore: bump by minor to v1.11.0
JamieSlome Apr 29, 2025
484248e
Merge pull request #991 from finos/release-1.11.0
JamieSlome Apr 29, 2025
1e7b181
chore: switch @typescript-eslint/no-explicit-any to off instead of warn
JamieSlome Apr 29, 2025
5be08b3
Merge pull request #992 from finos/disable-no-explicit-any
JamieSlome Apr 29, 2025
044ae8d
chore(deps): update dependency @finos/git-proxy to ^1.11.0 - git-prox…
renovate[bot] Apr 29, 2025
9cf16d2
Merge pull request #990 from finos/renovate/git-proxy-plugin-samples-…
JamieSlome Apr 29, 2025
909d383
fix(deps): update dependency axios to ^1.9.0 - git-proxy-cli - packag…
renovate[bot] Apr 29, 2025
82c45d8
Merge pull request #993 from finos/renovate/git-proxy-cli-manager
JamieSlome Apr 29, 2025
ced6237
fix(deps): update npm - website - website/package.json
renovate[bot] Apr 29, 2025
9ad2d07
Merge pull request #995 from finos/renovate/website-manager
JamieSlome Apr 30, 2025
fb6271d
feat: api rate limiting configuration
kriswest Apr 30, 2025
2d69e94
test: rateLimit config testing
kriswest May 1, 2025
958d87e
Merge branch 'main' into 997-rate-limiter-config
kriswest May 1, 2025
d0c20c4
fix: use limit rather than max in rateLimit config
kriswest May 1, 2025
f252d74
Merge remote-tracking branch 'upstream/997-rate-limiter-config' into …
kriswest May 1, 2025
aef5313
docs: regenerate schema reference for rateLimit
kriswest May 1, 2025
d34a486
Merge pull request #999 from kriswest/997-rate-limiter-config
JamieSlome May 6, 2025
8962c7e
Update README.md
JamieSlome May 6, 2025
b6de272
Merge pull request #1000 from finos/JamieSlome-patch-1
JamieSlome May 6, 2025
6e0a779
chore(deps): update dependency node to v20 - workflows - .github/work…
renovate[bot] May 6, 2025
f6bb5cd
Merge pull request #996 from finos/renovate/workflows-major-20-github…
JamieSlome May 6, 2025
55d11fd
fix(deps): update npm - li-cli - experimental/li-cli/package.json
renovate[bot] May 6, 2025
6002be2
Merge pull request #1001 from finos/renovate/li-cli-manager
JamieSlome May 6, 2025
f1f445e
chore(deps): update github-actions - workflows - .github/workflows/ci…
renovate[bot] May 6, 2025
1c4db5a
Merge pull request #1003 from finos/renovate/workflows-manager
JamieSlome May 6, 2025
26bf0b0
feat: report illegal commit messages in error message
kriswest May 7, 2025
2039d08
feat: stringify the illegal commit messages when reporting them
kriswest May 7, 2025
08301c7
Merge branch 'main' into 1005-report-illegal-commit-messages
kriswest May 8, 2025
f7932be
Merge pull request #1006 from kriswest/1005-report-illegal-commit-mes…
JamieSlome May 9, 2025
405aadd
chore: dont publish experimental or cypress
06kellyjac May 14, 2025
c730f97
ci: generate js and definitions from ts and place in original location
06kellyjac May 14, 2025
cd1b431
ci: add guardrails and add to publish
06kellyjac May 14, 2025
8810a63
ci: correctly build frontend in ci
06kellyjac May 14, 2025
da663f3
Merge pull request #1007 from 06kellyjac/fix-ts
JamieSlome May 15, 2025
2a25b9c
chore: bump by minor to v1.12.0
JamieSlome May 15, 2025
e6d7446
Merge pull request #1009 from finos/release-1.12.0
JamieSlome May 15, 2025
b6157f9
docs(readme): fix markdown in README
StingRayZA May 19, 2025
4f350f9
feat: integrate gitleaks
06kellyjac May 14, 2025
a059202
Merge pull request #1012 from kriswest/stingrayza/readme-markdown
JamieSlome May 19, 2025
8a08115
Merge branch 'main' into gitleaks
JamieSlome May 19, 2025
94ab3cf
Merge pull request #1010 from 06kellyjac/gitleaks
JamieSlome May 19, 2025
b10821a
chore: bump by minor to v1.13.0
JamieSlome May 19, 2025
740bd1a
Merge pull request #1013 from finos/release-1.13.0
JamieSlome May 19, 2025
eab0e3e
fix(deps): update dependency eslint to ^9.27.0 - website - website/pa…
renovate[bot] May 19, 2025
2ebaa1e
Create meeting_minutes.md
TheJuanAndOnly99 May 19, 2025
bab4216
Merge pull request #1004 from finos/renovate/website-manager
JamieSlome May 19, 2025
cc75f83
chore(deps): update github-actions - workflows - .github/workflows/de…
renovate[bot] May 19, 2025
8b1c312
Merge pull request #1015 from finos/renovate/workflows-manager
JamieSlome May 19, 2025
6b98af8
Update .github/ISSUE_TEMPLATE/meeting_minutes.md
JamieSlome May 19, 2025
d8ae510
Update .github/ISSUE_TEMPLATE/meeting_minutes.md
JamieSlome May 19, 2025
3b51ccf
Merge branch 'main' into meeting-minutes-template
JamieSlome May 19, 2025
9a3fd30
Merge pull request #1014 from finos/meeting-minutes-template
JamieSlome May 19, 2025
203d438
feat: implements config loader to enable remote or external configs
dcoric May 16, 2025
1999653
fix: fixes failing CI build as cert is not configured
dcoric May 20, 2025
a4cfa78
fix: rebased to latest main and fixed conflicts
dcoric May 20, 2025
fcc5a4c
Merge pull request #935 from G-Research/denis-coric/remote-config
JamieSlome May 20, 2025
0883127
chore: bump by minor to v1.14.0
JamieSlome May 20, 2025
fc6f166
Merge pull request #1021 from finos/release-1.14.0
JamieSlome May 20, 2025
0ddd27b
fix(auth): fix bug when calling createUser on admin creation
jescalada May 21, 2025
3484694
Merge remote-tracking branch 'origin/main' into enable-multiple-auth-…
jescalada May 21, 2025
e32408c
chore(auth): add sample oidc config
jescalada May 21, 2025
c83421d
fix: admin to dashboard rename issues
jescalada May 21, 2025
bab0061
fix: failing Cypress test
jescalada May 21, 2025
70dd346
test(auth): add proxyquire for mocking
jescalada May 21, 2025
71e7e52
test(auth): improve test coverage
jescalada May 21, 2025
678d932
test(auth): fix service close issue
jescalada May 21, 2025
ee8f2c1
test(auth): add extra tests and fix linter issues
jescalada May 21, 2025
e96e876
fix: replaced loading text with actual spinner and removed debug lines
jescalada May 21, 2025
fd962d2
feat: add snackbar for repo fetching errors
jescalada May 21, 2025
304a2ec
fix: revert react missing from PrivateRoute scope
jescalada May 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"react/prop-types": "off",
"require-jsdoc": "off",
"no-async-promise-executor": "off",
"@typescript-eslint/no-explicit-any": "warn", // temporary until TS refactor is complete
"@typescript-eslint/no-explicit-any": "off", // temporary until TS refactor is complete
"@typescript-eslint/no-unused-vars": "off", // temporary until TS refactor is complete
"@typescript-eslint/no-require-imports": "off", // prevents error on old "require" imports
"@typescript-eslint/no-unused-expressions": "off" // prevents error on test "expect" expressions
Expand Down
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/meeting_minutes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
name: "\U0001F91D GitProxy Meeting Minutes"
about: To track GitProxy meeting agenda and attendance
title: DD MMM YYYY - GitProxy Meeting Minutes
labels: meeting
assignees:

---

## Date
YYYYMMDD - time

## Meeting info
- [Meeting link](https://zoom-lfx.platform.linuxfoundation.org/meeting/95849833904?password=99413314-d03a-4b1c-b682-1ede2c399595)

- [Register for future meetings](https://zoom-lfx.platform.linuxfoundation.org/meeting/95849833904?password=99413314-d03a-4b1c-b682-1ede2c399595&invite=true)

## Untracked attendees
- Full Name, Affiliation, (optional) GitHub username
- ...

## Meeting notices
- FINOS **Project leads** are responsible for observing the FINOS guidelines for [running project meetings](https://community.finos.org/docs/governance/meeting-procedures/). Project maintainers can find additional resources in the [FINOS Maintainers Cheatsheet](https://community.finos.org/docs/finos-maintainers-cheatsheet).

- **All participants** in FINOS project meetings are subject to the [LF Antitrust Policy](https://www.linuxfoundation.org/antitrust-policy/), the [FINOS Community Code of Conduct](https://community.finos.org/docs/governance/code-of-conduct) and all other [FINOS policies](https://community.finos.org/docs/governance/#policies).

- FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact [email protected] with any questions.

- FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

## Agenda
- [ ] Convene & roll call (5mins)
- [ ] Display [FINOS Antitrust Policy summary slide](https://community.finos.org/Compliance-Slides/Antitrust-Compliance-Slide.pdf)
- [ ] Review Meeting Notices (see above)
- [ ] Approve past meeting minutes
- [ ] Agenda item 1
- [ ] Agenda item 2
- [ ] ...
- [ ] AOB, Q&A & Adjourn (5mins)

## Decisions Made
- [ ] Decision 1
- [ ] Decision 2
- [ ] ...

## Action Items
- [ ] Action 1
- [ ] Action 2
- [ ] ...
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit

Expand All @@ -33,7 +33,7 @@ jobs:
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -52,16 +52,16 @@ jobs:
npm run test-coverage-ci --workspaces --if-present

- name: Upload test coverage report
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
with:
files: ./coverage/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
# - name: Exit if coverage condition not met
# if: ${{ steps.test.outputs.exit_code }} != 0
# run: exit ${{ steps.test.outputs.exit_code }}

- name: Build application
run: npm run build
- name: Build frontend
run: npm run build-ui

- name: Save build folder
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
Expand All @@ -71,13 +71,13 @@ jobs:
path: build

- name: Download the build folders
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
name: build
path: build

- name: Run cypress test
uses: cypress-io/github-action@108b8684ae52e735ff7891524cbffbcd4be5b19f # v6.7.16
uses: cypress-io/github-action@be1bab96b388bbd9ce3887e397d373c8557e15af # v6.9.2
with:
start: npm start &
wait-on: "http://localhost:3000"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2
with:
egress-policy: audit

Expand All @@ -60,7 +60,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3
uses: github/codeql-action/init@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -74,7 +74,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3
uses: github/codeql-action/autobuild@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -87,6 +87,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3
uses: github/codeql-action/analyze@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3
with:
category: "/language:${{matrix.language}}"
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2
with:
egress-policy: audit

- name: 'Checkout Repository'
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Dependency Review
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4
uses: actions/dependency-review-action@da24556b548a50705dd671f47852072ea4c105d9 # v4
with:
comment-summary-in-pr: always
fail-on-severity: high
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/experimental-inventory-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit

Expand All @@ -33,7 +33,7 @@ jobs:
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: ${{ matrix.node-version }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/experimental-inventory-cli-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

# Setup .npmrc file to publish to npm
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/experimental-inventory-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

# Setup .npmrc file to publish to npm
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps: # list of steps
- name: Harden Runner
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2
with:
egress-policy: audit

- name: Install NodeJS
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: ${{ env.NODE_VERSION }}

Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '18.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
env:
IS_PUBLISHING: 'YES'
- run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sample-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '18.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: publish sample package
run: npm install --include peer && npm publish --access=public
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: Harden Runner
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit

Expand Down Expand Up @@ -72,6 +72,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
with:
sarif_file: results.sarif
6 changes: 3 additions & 3 deletions .github/workflows/unused-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2
with:
egress-policy: audit

- name: 'Checkout Repository'
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: 'Setup Node.js'
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '18.x'
node-version: '20.x'
- name: 'Run depcheck'
run: |
npx depcheck --skip-missing --ignores="tsx,@babel/*,@commitlint/*,eslint,eslint-*,husky,mocha,ts-mocha,ts-node,concurrently,nyc,prettier,typescript,tsconfig-paths,vite-tsconfig-paths"
Expand Down
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -263,4 +263,10 @@ yarn-error.log*

# Docusaurus website
website/build
website/.docusaurus
website/.docusaurus

# git-config-cache
.git-config-cache

# Jetbrains IDE
.idea
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file required to override .gitignore when publishing to npm
website/
plugins/
experimental/
cypress/
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@
[![NPM](https://img.shields.io/npm/v/@finos/git-proxy?colorA=00C586&colorB=000000)](https://www.npmjs.com/package/@finos/git-proxy)
[![Build](https://img.shields.io/github/actions/workflow/status/finos/git-proxy/ci.yml?branch=main&label=CI&logo=github&colorA=00C586&colorB=000000)](https://github.com/finos/git-proxy/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/finos/git-proxy/branch/main/graph/badge.svg)](https://codecov.io/gh/finos/git-proxy)
[![git-proxy](https://api.securityscorecards.dev/projects/github.com/finos/git-proxy/badge)](https://api.securityscorecards.dev/projects/github.com/finos/git-proxy)
[![Documentation](https://img.shields.io/badge/_-documentation-000000?colorA=00C586&logo=docusaurus&logoColor=FFFFFF&)](https://git-proxy.finos.org)
<br />
[![License](https://img.shields.io/github/license/finos/git-proxy?colorA=00C586&colorB=000000)](https://github.com/finos/git-proxy/blob/main/LICENSE)
[![Contributors](https://img.shields.io/github/contributors/finos/git-proxy?colorA=00C586&colorB=000000)](https://github.com/finos/git-proxy/graphs/contributors)
[![Slack](https://img.shields.io/badge/_-Chat_on_Slack-000000.svg?logo=slack&colorA=00C586)](https://app.slack.com/client/T01E7QRQH97/C06LXNW0W76)
[![Stars](https://img.shields.io/github/stars/finos/git-proxy?colorA=00C586&colorB=000000)](https://github.com/finos/git-proxy/stargazers)
[![Forks](https://img.shields.io/github/forks/finos/git-proxy?colorA=00C586&colorB=000000)](https://github.com/finos/git-proxy/forks)
[![git-proxy](https://api.securityscorecards.dev/projects/github.com/finos/git-proxy/badge)](https://api.securityscorecards.dev/projects/github.com/finos/git-proxy)
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/10520/badge)](https://www.bestpractices.dev/projects/10520)

</div>
<br />
Expand Down Expand Up @@ -85,6 +84,7 @@ $ git push proxy $(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remo
Using the default configuration, GitProxy intercepts the push and _blocks_ it. To enable code pushing to your fork via GitProxy, add your repository URL into the GitProxy config file (`proxy.config.json`). For more information, refer to [our documentation](https://git-proxy.finos.org).

## Documentation

For detailed step-by-step instructions for how to install, deploy & configure GitProxy and
customize for your environment, see the [project's documentation](https://git-proxy.finos.org/docs/):

Expand All @@ -102,11 +102,11 @@ If you identify a security vulnerability in the codebase, please follow the step

## Code of Conduct

We are committed to making open source an enjoyable and respectful experience for our community. See <a href="https://github.com/finos/git-proxy/blob/main/CODE_OF_CONDUCT.md"><code>CODE_OF_CONDUCT</code></a> for more information.
We are committed to making open source an enjoyable and respectful experience for our community. See [`CODE_OF_CONDUCT`](CODE_OF_CONDUCT.md) for more information.

## License

This project is distributed under the Apache-2.0 license. See <a href="./LICENSE"><code>LICENSE</code></a> for more information.
This project is distributed under the Apache-2.0 license. See [`LICENSE`](LICENSE) for more information.

## Contact

Expand All @@ -116,4 +116,4 @@ If you can't access Slack, you can also [subscribe to our mailing list](mailto:g

Join our [fortnightly Zoom meeting](https://zoom.us/j/97235277537?pwd=aDJsaE8zcDJpYW1vZHJmSTJ0RXNZUT09) on Monday, 11AM EST (odd week numbers). Send an e-mail to [[email protected]](mailto:[email protected]) to get a calendar invitation.

Otherwise, if you have a deeper query or require more support, please [raise an issue](https://github.com/finos/git-proxy/issues).
Otherwise, if you have a deeper query or require more support, please [raise an issue](https://github.com/finos/git-proxy/issues).
Loading
Loading