Run the CLA bot only on comments to PR
Right now, it unnecessarily runs and sends an email when customers open issues. Not tested, but can test it by opening an issue after this is merged. Reference: - https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issue_comment
This commit is contained in:
parent
4e46a6f222
commit
9f686d38ed
1 changed files with 2 additions and 0 deletions
2
.github/workflows/cla.yaml
vendored
2
.github/workflows/cla.yaml
vendored
|
@ -7,6 +7,8 @@ on:
|
|||
|
||||
jobs:
|
||||
CLAAssistant:
|
||||
# This job only runs for pull request comments
|
||||
if: ${{ github.event.issue.pull_request }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "CLA Assistant"
|
||||
|
|
Loading…
Add table
Reference in a new issue