Document synthetic dataset ingestion workflow #2
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: Auto-approve own PRs | |
| on: | |
| pull_request: | |
| branches: [ dev ] | |
| workflow_dispatch: # Allows manual runs | |
| jobs: | |
| auto-approve: | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'pull_request' && github.event.pull_request.user.login == github.repository_owner | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Auto-approve PR | |
| run: gh pr review ${{ github.event.pull_request.number }} --approve | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} |