Change the line length limit of docstrings to 88 characters #5939
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
# Support slash commands in pull requests | |
# | |
# Currently, two slash commands `format` and `test-gmt-dev` are supported. | |
# | |
name: Slash Command Dispatch | |
on: | |
issue_comment: | |
types: [created] | |
# Add "edited" type for test purposes. Where possible, avoid using to prevent processing unnecessary events. | |
# types: [created, edited] | |
jobs: | |
slashCommandDispatch: | |
if: ${{ github.event.issue.pull_request }} | |
runs-on: ubuntu-latest | |
steps: | |
# Generate token from GenericMappingTools bot | |
- uses: tibdex/github-app-token@v2 | |
id: generate-token | |
with: | |
app_id: ${{ secrets.APP_ID }} | |
private_key: ${{ secrets.APP_PRIVATE_KEY }} | |
- name: Slash Command Dispatch | |
uses: peter-evans/slash-command-dispatch@v3 | |
with: | |
token: ${{ steps.generate-token.outputs.token }} | |
commands: | | |
format | |
test-gmt-dev | |
issue-type: pull-request | |
permission: none |