Save JSON files like workflows with 2 space indentation for compatibility with source control and readability #3905
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: Check AI Co-Authors | |
| on: | |
| pull_request: | |
| branches: ['*'] | |
| jobs: | |
| check-ai-co-authors: | |
| name: Check for AI agent co-author trailers | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check commits for AI co-author trailers | |
| run: bash .github/scripts/check-ai-co-authors.sh "${{ github.event.pull_request.base.sha }}" "${{ github.event.pull_request.head.sha }}" |