Documentation Block Definition added full parameter list and fixed a typo #5
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: PR Block Rules | |
on: | |
pull_request: | |
types: [opened, edited] | |
jobs: | |
comment-on-pr: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Display block rules | |
run: | | |
RULES=$(cat ./block_creation_rules.md) | |
gh pr comment ${{ github.event.pull_request.number }} --body "$RULES" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |