Skip to content

Commit 9a233e4

Browse files
committed
add workflow to this repo
1 parent f8c4ef9 commit 9a233e4

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Workflow to check if a user has correctly signed the CLA
2+
3+
name: Check Issue Signed
4+
5+
on:
6+
workflow_call:
7+
8+
jobs:
9+
check-signed:
10+
name: Check CLA signed
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
with:
16+
repository: dfinity/public-workflows
17+
- name: Install Python
18+
uses: actions/setup-python@v4
19+
with:
20+
python-version: '3.10'
21+
- name: Install Dependencies
22+
run: pip install -q -r requirements.txt
23+
shell: bash
24+
- name: Check CLA issue
25+
run: |
26+
export PYTHONPATH="$PWD/reusable_workflows/"
27+
python reusable_workflows/check_cla/check_cla_issue.py
28+
shell: bash
29+
env:
30+
GH_TOKEN: ${{ github.token }}
31+
ISSUE_ID: ${{ github.event.issue.number }}

0 commit comments

Comments
 (0)