docs: merge installation docs #445
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Recheck CLA | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
recheck-cla: | |
name: Recheck CLA | |
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/recheck-cla') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get PR number | |
id: pr_number | |
run: echo "PR_NUMBER=${{ github.event.issue.number }}" >> $GITHUB_OUTPUT | |
- name: Trigger CLA check | |
run: | | |
curl -X GET "https://cla-assistant.io/check/${{ github.repository_owner }}/${{ github.event.repository.name }}?pullRequest=${{ steps.pr_number.outputs.PR_NUMBER }}" | |
- name: Comment on PR | |
uses: actions/github-script@v6 | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
script: | | |
github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: 'Recheck CLA triggered.' | |
}) |