Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
25 changes: 25 additions & 0 deletions .github/workflows/blacklist.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: PR Blacklist Check

on:
pull_request:
types: [opened, reopened, edited, synchronize]

jobs:
check-blacklist:
runs-on: ubuntu-latest
steps:
- name: Check for blacklisted user
env:
BLACKLISTED_USERS: ${{ vars.BLACKLISTED_USERS }}
PR_AUTHOR: ${{ github.actor }}
run: |
if [[ -n "$BLACKLISTED_USERS" ]]; then
# Convert comma-separated list to array
IFS=',' read -ra USERS <<< "$BLACKLISTED_USERS"
for user in "${USERS[@]}"; do
if [[ "$user" == "$PR_AUTHOR" ]]; then
echo "::error::User $PR_AUTHOR is blacklisted from submitting PRs"
exit 1
fi
done
fi
8 changes: 0 additions & 8 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -518,11 +518,3 @@ Copy of https://site.financialmodelingprep.com/developer/docs/stable#bulk
- `com.fasterxml.jackson.core:jackson-databind`
- `org.apache.httpcomponents.client5:httpclient5`
- `org.apache.commons:commons-lang3`

## Contributors

- [sorndotdev](https://github.com/sorndotdev)
- [andyyngo](https://github.com/andyyngo)
- [HamzaIddaoui](https://github.com/HamzaIddaoui)
- [siddhantkore](https://github.com/siddhantkore)
- [joonseolee](https://github.com/joonseolee)
Loading