convert remaining tasks using metafieldDelete due to deprecation #1234
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: clabot | |
on: | |
issue_comment: | |
types: [created] | |
pull_request_target: | |
types: [opened,closed,synchronize] | |
jobs: | |
clabot: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "CLA Assistant" | |
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' | |
# Beta Release | |
uses: contributor-assistant/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
with: | |
path-to-signatures: 'signatures/version1/cla.json' | |
path-to-document: 'https://github.com/lightward/mechanic-tasks/blob/master/CLA.md' | |
branch: 'main' | |
allowlist: isaacbowen,renovate[bot] | |
use-dco-flag: false #'Set this to true if you want to use a dco instead of a cla' | |
create-file-commit-message: 'creating file for storing CLA signatures' | |
signed-commit-message: '$contributorName has signed the CLA in #$pullRequestNo' | |
custom-notsigned-prcomment: 'Thank you for your contribution! Please read and sign our CLA: $pathToCLADocument' | |
custom-allsigned-prcomment: 'All contributors have signed the CLA.' |