Use CLA again and add action to recheck it

This commit is contained in:
Nanne Baars
2021-09-29 19:56:22 +02:00
parent 14bb53d43a
commit b7a1edd04a
4 changed files with 14 additions and 66 deletions

14
.github/workflows/recheck-cla.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
name: "Check CLA signed"
on:
issue_comment:
types: [created]
jobs:
rebase:
name: signed
if: github.repository == 'WebGoat/WebGoat' && github.event.issue.pull_request != '' && contains(github.event.comment.body, '/cla') && github.event.comment.author_association == 'MEMBER'
runs-on: ubuntu-latest
steps:
- name: Recheck CLA
run: |
echo "Rechecking PR ${{ github.event.number }}"
curl "https://cla-assistant.io/check/WebGoat/WebGoat?pullRequest=${{ github.event.number }}