docs: document gh_api sentinel contract and gh_api_paginate across al… #30
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: CI | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - '**.md' | |
| - 'LICENSE' | |
| - '.github/FUNDING.yml' | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - '**.md' | |
| - 'LICENSE' | |
| - '.github/FUNDING.yml' | |
| jobs: | |
| shellcheck: | |
| name: Shellcheck | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Install shellcheck | |
| run: sudo apt-get update -qq && sudo apt-get install -y shellcheck | |
| - name: Run shellcheck on all scripts | |
| run: | | |
| find . -name "*.sh" -not -path "./.git/*" | sort | xargs shellcheck \ | |
| --severity=warning \ | |
| --exclude=SC2034,SC1091 \ | |
| --shell=bash |