Skip to content

Commit 4453168

Browse files
authored
Add example usage
1 parent 6a53dd9 commit 4453168

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,21 @@
11
# scala-cla
22
Checks if the author has signed the Scala CLA
3+
4+
Usage
5+
-----
6+
7+
Here's an example that checks if author of Pull Requests had signed Scala CLA.
8+
9+
```yaml
10+
name: "Check Scala CLA"
11+
on:
12+
pull_request:
13+
jobs:
14+
cla-check:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Verify CLA
18+
uses: scala/scala-cla
19+
with:
20+
author: ${{ github.event.pull_request.user.login }}
21+
```

0 commit comments

Comments
 (0)