NODES 2025 CFP #307
This file contains hidden or 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: "CLA Check" | |
| on: | |
| pull_request_target: | |
| branches: | |
| - dev | |
| - main | |
| jobs: | |
| cla-check: | |
| if: ${{ github.actor != 'dependabot[bot]' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| repository: neo-technology/whitelist-check | |
| token: ${{ secrets.DOCS_CHECKS_TOKEN }} | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3 | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
| - run: | | |
| owner=$(echo "$GITHUB_REPOSITORY" | cut -d/ -f1) | |
| repository=$(echo "$GITHUB_REPOSITORY" | cut -d/ -f2) | |
| ./bin/examine-pull-request "$owner" "$repository" "$CHECKS_TOKEN" "$PULL_REQUEST_NUMBER" cla-database.csv | |
| env: | |
| PULL_REQUEST_NUMBER: ${{ github.event.number }} | |
| CHECKS_TOKEN: ${{ secrets.DOCS_CHECKS_TOKEN }} |