Add Figure.scalebar to plot a scale bar on maps #7957
This file contains hidden or 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, only one slash command `format` is 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] | |
| permissions: {} | |
| jobs: | |
| slashCommandDispatch: | |
| permissions: | |
| contents: write # for executing the repository_dispatch event | |
| pull-requests: write # for peter-evans/slash-command-dispatch to create PR reaction | |
| if: ${{ github.event.issue.pull_request }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Slash Command Dispatch | |
| uses: peter-evans/slash-command-dispatch@9bdcd7914ec1b75590b790b844aa3b8eee7c683a # v5.0.2 | |
| with: | |
| token: ${{ github.token }} | |
| commands: | | |
| format | |
| issue-type: pull-request | |
| permission: none |