agreement.yml 398 B

1234567891011121314151617
  1. name: "Contribution Agreement"
  2. on:
  3. pull_request
  4. jobs:
  5. AgreementCheck:
  6. runs-on: ubuntu-latest
  7. steps:
  8. - name: Checkout
  9. uses: actions/checkout@v2
  10. with:
  11. fetch-depth: 0
  12. - run: |
  13. echo Looking up contributor
  14. tail -n +36 ContributionAgreement.md | awk -F\| '{print $3}' | grep -w $USER
  15. env:
  16. USER: ${{ github.actor }}