Add better example for accessing non-documented properties in a list response #173
Workflow file for this run
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
| name: rules | |
| on: | |
| workflow_dispatch: {} | |
| pull_request: | |
| types: | |
| - auto_merge_enabled | |
| permissions: {} | |
| jobs: | |
| require_merge_commit_on_merge_script_pr: | |
| name: Merge script PRs must create merge commits | |
| if: ${{ contains(github.head_ref, '/merge-') }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: | | |
| if ${{ github.event.pull_request.auto_merge.merge_method != 'merge' }}; then | |
| echo "Auto-merge method must be 'merge' instead of '${{github.event.pull_request.auto_merge.merge_method}}'" | |
| exit 1 | |
| fi | |