Skip to content

chore: opsDef support prefix match #478

chore: opsDef support prefix match

chore: opsDef support prefix match #478

Workflow file for this run

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.'
})