Skip to content

Commit bd42c2e

Browse files
authored
Add CLA (#84)
1 parent 7887e43 commit bd42c2e

File tree

3 files changed

+58
-2
lines changed

3 files changed

+58
-2
lines changed

.github/workflows/cla.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: "CLA Assistant"
2+
on:
3+
issue_comment:
4+
types: [created]
5+
pull_request_target:
6+
types: [opened, closed, synchronize]
7+
8+
permissions:
9+
actions: write
10+
contents: write
11+
pull-requests: write
12+
statuses: write
13+
14+
jobs:
15+
CLAAssistant:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Harden the runner (Audit all outbound calls)
19+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
20+
with:
21+
egress-policy: audit
22+
23+
- name: Checkout Private Repo for Allowlist
24+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
with:
26+
repository: OpenZeppelin/cla-sigs
27+
token: ${{ secrets.CLA_SIGS_ACCESS_PAT }}
28+
sparse-checkout: |
29+
allowlist.txt
30+
sparse-checkout-cone-mode: false
31+
- name: Read Allowlist File
32+
id: read_allowlist
33+
run: |
34+
ALLOWLIST=$(cat allowlist.txt)
35+
echo "allowlist=$ALLOWLIST" >> $GITHUB_OUTPUT
36+
- name: "CLA Assistant"
37+
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I confirm that I have read and hereby agree to the OpenZeppelin Contributor License Agreement') || github.event_name == 'pull_request_target'
38+
uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_SIGS_ACCESS_PAT }}
42+
with:
43+
path-to-signatures: 'signatures/${{ github.event.repository.name }}/v1_cla.json'
44+
path-to-document: 'https://github.com/OpenZeppelin/cla-assistant/blob/main/openzeppelin_2025_cla.md'
45+
branch: 'main'
46+
allowlist: ${{ steps.read_allowlist.outputs.allowlist }}
47+
remote-organization-name: 'OpenZeppelin'
48+
remote-repository-name: 'cla-sigs'
49+
custom-notsigned-prcomment: >
50+
Thank you for your contribution to OpenZeppelin Safe Utils.
51+
Before being able to integrate those changes, we would like you to
52+
sign our [Contributor License Agreement](https://github.com/OpenZeppelin/cla-assistant/blob/main/openzeppelin_2025_cla.md).
53+
54+
You can sign the CLA by just posting a Pull Request Comment with the sentence below. Thanks.
55+
custom-pr-sign-comment: 'I confirm that I have read and hereby agree to the OpenZeppelin Contributor License Agreement'
56+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Event Scanner
22

3-
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/OpenZeppelin/event-scanner/badge)](https://api.securityscorecards.dev/projects/github.com/OpenZeppelin/event-scanner)
3+
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/OpenZeppelin/Event-Scanner/badge)](https://api.securityscorecards.dev/projects/github.com/OpenZeppelin/Event-Scanner)
44

55
> ⚠️ **WARNING: ACTIVE DEVELOPMENT** ⚠️
66
>

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ for more information on how to submit a vulnerability using GitHub's interface.
2929

3030
## Legal
3131

32-
OpenZeppelin Event Scanner is made available under the GNU AGPL 3.0 License, which disclaims all warranties in relation to the project and which limits the liability of those that contribute and maintain the project, including OpenZeppelin. Your use of the project is also governed by the terms found at www.openzeppelin.com/tos (the "Terms"). As set out in the Terms, you are solely responsible for any use of OpenZeppelin Even Scanner and you assume all risks associated with any such use. This Security Policy in no way evidences or represents an on-going duty by any contributor, including OpenZeppelin, to correct any flaws or alert you to all or any of the potential risks of utilizing the project.
32+
OpenZeppelin Event Scanner is made available under the GNU AGPL 3.0 License, which disclaims all warranties in relation to the project and which limits the liability of those that contribute and maintain the project, including OpenZeppelin. Your use of the project is also governed by the terms found at www.openzeppelin.com/tos (the "Terms"). As set out in the Terms, you are solely responsible for any use of OpenZeppelin Event Scanner and you assume all risks associated with any such use. This Security Policy in no way evidences or represents an on-going duty by any contributor, including OpenZeppelin, to correct any flaws or alert you to all or any of the potential risks of utilizing the project.
3333

0 commit comments

Comments
 (0)