Skip to content

feat: copilot generative ai for editor app #4

feat: copilot generative ai for editor app

feat: copilot generative ai for editor app #4

Workflow file for this run

name: "CLA Assistant"
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened,closed,synchronize]
# explicitly configure permissions, in case your GITHUB_TOKEN workflow permissions are set to read-only in repository settings
permissions:
actions: write
contents: read # this can be 'read' if the signatures are in remote repository
pull-requests: write
statuses: write
jobs:
CLAAssistant:
if: github.repository == 'plasmicapp/plasmic'
runs-on: ubuntu-latest
steps:
- name: "CLA Assistant"
if: github.event_name == 'pull_request_target' || (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read, agree to, and hereby sign Plasmic''s Individual Contributor License Agreement')
uses: contributor-assistant/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# the below token should have repo scope and must be manually added by you in the repository's secret
# This token is required only if you have configured to store the signatures in a remote repository/organization
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_SIGNATURES_GITHUB_PAT }}
with:
path-to-signatures: 'signatures/version1/cla.json'
path-to-document: 'https://github.com/plasmicapp/plasmic/blob/master/docs/contributing/individual-cla.md' # e.g. a CLA or a DCO document
# branch should not be protected
branch: 'master'
# allowlist: user1,bot*
# the followings are the optional inputs - If the optional inputs are not given, then default values will be taken
remote-organization-name: plasmicapp
remote-repository-name: cla-signatures
#create-file-commit-message: 'For example: Creating file for storing CLA Signatures'
#signed-commit-message: 'For example: $contributorName has signed the CLA in $owner/$repo#$pullRequestNo'
custom-notsigned-prcomment: |
Thank you for your submission, we really appreciate it! ❤️
Like many open-source projects, we ask that you sign our [Individual Contributor License Agreement](https://github.com/plasmicapp/plasmic/blob/master/docs/contributing/individual-cla.md) before we can accept your contribution. If you are contributing on behalf of a company, please contact us at [email protected] to sign a [Corporate Contributor License Agreement](https://github.com/plasmicapp/plasmic/blob/master/docs/contributing/corporate-cla.md).
You can sign the individual CLA by posting a comment with the below text.
custom-pr-sign-comment: I have read, agree to, and hereby sign Plasmic's Individual Contributor License Agreement
#custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'
#lock-pullrequest-aftermerge: false - if you don't want this bot to automatically lock the pull request after merging (default - true)
#use-dco-flag: true - If you are using DCO instead of CLA