Update project access api to v2 endpoint #1083
This file contains 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: push | |
jobs: | |
check-cla-sign: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check CLA signature | |
run: | | |
if grep -q ${{ github.actor }} "${{ github.workspace }}/LICENSES/CLA-signed-list.md"; then | |
echo "CLA signed OK for ${{ github.actor }}!" | |
else | |
echo "CLA is not signed for ${{ github.actor }}, please agree with CLA and add your username to ${{ github.workspace }}/LICENSES/CLA-signed-list.md" | |
exit 1; | |
fi |