Skip to content

Commit

Permalink
cla check
Browse files Browse the repository at this point in the history
  • Loading branch information
lijunchen committed Mar 7, 2024
1 parent 59ad50c commit 8aae954
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,12 @@ jobs:
run: |
moon fmt
git diff
- name: CLA check
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
PR_AUTHOR=$(curl -s -H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }} \
| jq -r '.user.login')
echo "The PR author is $PR_AUTHOR"

0 comments on commit 8aae954

Please sign in to comment.