mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
Remove CLA from probot and use new GitHub action
This commit is contained in:
@@ -1,2 +0,0 @@
|
|||||||
enabled:
|
|
||||||
- cla
|
|
||||||
@@ -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 }}
|
||||||
Reference in New Issue
Block a user