miscellaneous improvements/bug fixes/cleanup #23
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: "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/Zume/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/Zume/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 |