账号批量授权和新增实例账号自动继承权限 #317
This file contains hidden or 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: CLA Assistant | |
| on: | |
| issue_comment: | |
| types: [created] | |
| pull_request_target: | |
| types: [opened, reopened, synchronize, ready_for_review] | |
| workflow_dispatch: | |
| inputs: | |
| pull_request: | |
| description: Pull request number to recheck | |
| required: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| recheck: | |
| name: Recheck CLA status | |
| if: github.event_name != 'issue_comment' || (github.event.issue.pull_request && github.event.comment.body == 'recheck') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Trigger hosted CLA Assistant | |
| env: | |
| PULL_REQUEST: ${{ github.event.pull_request.number || github.event.issue.number || inputs.pull_request }} | |
| run: | | |
| curl --fail --location --silent --show-error \ | |
| "https://cla-assistant.io/check/${{ github.repository }}?pullRequest=${PULL_REQUEST}" \ | |
| --output /dev/null |