Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

Commit b24ddaa

Browse files
committedJul 16, 2022
Remove CLA from probot and use new GitHub action
1 parent a83382d commit b24ddaa

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed
 

‎.github/probots.yml

-2
This file was deleted.

‎.github/workflows/cla.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Contributor License Agreement (CLA)
2+
3+
on:
4+
pull_request_target:
5+
types: [opened, synchronize]
6+
issue_comment:
7+
types: [created]
8+
9+
jobs:
10+
cla:
11+
runs-on: ubuntu-latest
12+
if: |
13+
(github.event.issue.pull_request
14+
&& !github.event.issue.pull_request.merged_at
15+
&& contains(github.event.comment.body, 'signed')
16+
)
17+
|| (github.event.pull_request && !github.event.pull_request.merged)
18+
steps:
19+
- uses: Shopify/shopify-cla-action@v1
20+
with:
21+
github-token: ${{ secrets.GITHUB_TOKEN }}
22+
cla-token: ${{ secrets.CLA_TOKEN }}

0 commit comments

Comments
 (0)