mirror of https://github.com/hyperledger/besu
An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
1007 B
20 lines
1007 B
name: "comment on pr with checklist"
|
|
on:
|
|
pull_request_target:
|
|
types: [ opened ]
|
|
branches: [ main ]
|
|
jobs:
|
|
checklist:
|
|
name: "add checklist as a comment on newly opened PRs"
|
|
runs-on: [besu,Linux,self-hosted,nodocker]
|
|
steps:
|
|
- uses: actions/github-script@v5
|
|
with:
|
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
|
script: |
|
|
github.rest.issues.createComment({
|
|
issue_number: context.issue.number,
|
|
owner: context.repo.owner,
|
|
repo: context.repo.repo,
|
|
body: '- [ ] I thought about documentation and added the `doc-change-required` label to this PR if [updates are required](https://wiki.hyperledger.org/display/BESU/Documentation).\n- [ ] I have considered running `./gradlew acceptanceTestNonMainnet` locally if my PR affects non-mainnet modules.\n- [ ] I thought about the changelog and included a [changelog update if required](https://wiki.hyperledger.org/display/BESU/Changelog).'
|
|
}) |