Skip to content

improvements

improvements #36

Workflow file for this run

name: "DCO Assistant"
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened, closed, synchronize]
permissions:
actions: write
contents: write
pull-requests: write
statuses: write
jobs:
DCO:
runs-on: ubuntu-latest
steps:
- name: "DCO Assistant"
if: (
github.event.comment.body == 'recheck' ||
github.event.comment.body == 'I have read and hereby affirm the entire contents of the Developer Certificate of Origin.'
) || github.event_name == 'pull_request_target'
uses: cla-assistant/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
path-to-signatures: "signatures.json"
path-to-document: "https://github.com/Nolij/ZSON/blob/dco/DCO.txt"
branch: "dco"
create-file-commit-message: "Create DCO signature list"
signed-commit-message: "Add $contributorName to the DCO signature list"
custom-notsigned-prcomment:
"Before we can merge your submission, we require that you read and affirm the contents of the
[Developer Certificate of Origin](https://github.com/Nolij/ZSON/blob/dco/DCO.txt) by adding a comment containing the below text.
Otherwise, please close this PR."
custom-pr-sign-comment: "I have read and hereby affirm the entire contents of the Developer Certificate of Origin."
custom-allsigned-prcomment: "All contributors have read and affirmed the entire contents of the Developer Certificate of Origin."
use-dco-flag: true