aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cla.yml')
-rw-r--r--.github/workflows/cla.yml30+30 −0
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml
new file mode 100644
--- /dev/null
+++ b/.github/workflows/cla.yml
@@ -0,0 +1,30 @@
+# SPDX-FileCopyrightText: 2026 Nikolay Govorov <me@govorov.online>
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
+name: "CLA Assistant"
+
+on:
+ issue_comment:
+ types: [created]
+ pull_request_target:
+ types: [opened, closed, synchronize]
+
+jobs:
+ CLAAssistant:
+ runs-on: ubuntu-latest
+ permissions:
+ actions: write
+ contents: write
+ statuses: write
+ pull-requests: write
+ steps:
+ - name: "CLA Assistant"
+ if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
+ uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ branch: "main"
+ allowlist: mrdimidium
+ path-to-signatures: "LICENSES/cla.json"
+ path-to-document: "https://github.com/dimidiumlabs/mirum/blob/main/CLA.md"