Skip to content

Extend server state transitions #46

Extend server state transitions

Extend server state transitions #46

Workflow file for this run

name: "CLA Check"
on:
pull_request_target:
branches:
- dev
- main
jobs:
cla-check:
if: github.event.pull_request.user.login != 'renovate[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 }}