Skip to content

Commit

Permalink
Merge pull request #170 from Shopify/ko/use-cla-action
Browse files Browse the repository at this point in the history
Use CLA GitHub action instead of CLA bot
  • Loading branch information
KaanOzkan authored Jul 7, 2022
2 parents 78305c7 + 4134f3c commit 63a6b08
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/probots.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Contributor License Agreement (CLA)

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

jobs:
build:
runs-on: ubuntu-latest
if: |
(github.event.issue.pull_request && !github.event.issue.pull_request.merged_at)
|| (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 63a6b08

Please sign in to comment.