mirror of
https://github.com/golutra/golutra.git
synced 2026-08-29 03:45:51 +08:00
32 lines
767 B
YAML
32 lines
767 B
YAML
name: CLA
|
|
|
|
on:
|
|
issue_comment:
|
|
types:
|
|
- created
|
|
pull_request_target:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
- ready_for_review
|
|
- closed
|
|
|
|
permissions:
|
|
actions: write
|
|
contents: write
|
|
pull-requests: write
|
|
statuses: write
|
|
|
|
jobs:
|
|
cla:
|
|
uses: golutra/platform-workflows/.github/workflows/cla-reusable.yml@0.1.0
|
|
secrets: inherit
|
|
with:
|
|
event-name: ${{ github.event_name }}
|
|
issue-is-pr: ${{ github.event_name == 'issue_comment' && github.event.issue.pull_request != null }}
|
|
comment-body: ${{ github.event.comment.body || '' }}
|
|
default-branch: ${{ github.event.repository.default_branch }}
|
|
app-id: ${{ vars.CLA_APP_ID }}
|
|
compliance-profile: bsl-change-license-commercial
|