agreement.yml 447 B

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