Skip to content

Commit

Permalink
Remove CLA from probot and use new GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
cursedcoder committed Jul 16, 2022
1 parent 9055854 commit 7b25b8c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/probots.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/cla.yml
@@ -0,0 +1,22 @@
name: Contributor License Agreement (CLA)

on:
pull_request_target:
types: [opened, synchronize]
issue_comment:
types: [created]

jobs:
cla:
runs-on: ubuntu-latest
if: |
(github.event.issue.pull_request
&& !github.event.issue.pull_request.merged_at
&& contains(github.event.comment.body, 'signed')
)
|| (github.event.pull_request && !github.event.pull_request.merged)
steps:
- uses: Shopify/shopify-cla-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
cla-token: ${{ secrets.CLA_TOKEN }}

0 comments on commit 7b25b8c

Please sign in to comment.