Added agent_id tracking in agent reporter collection #192
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 & merge pre-commit.ci autoupdate PRs | |
| on: | |
| pull_request_target: | |
| types: [opened, reopened, synchronize] | |
| branches: [main] | |
| jobs: | |
| auto-approve-and-merge: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write # needed to approve | |
| contents: write # needed to merge | |
| # only run for pre-commit.ci autoupdate PRs by the bot | |
| if: ${{ | |
| github.actor == 'pre-commit-ci[bot]' && | |
| contains(github.event.pull_request.title, '[pre-commit.ci] pre-commit autoupdate')}} | |
| steps: | |
| - name: Auto-approve the PR | |
| uses: hmarr/auto-approve-action@v4 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| pull-request-number: ${{ github.event.pull_request.number }} | |
| review-message: '✅ Automated sync — no manual review needed' | |
| - name: Enable auto-merge | |
| uses: peter-evans/enable-pull-request-automerge@v3 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| pull-request-number: ${{ github.event.pull_request.number }} | |
| merge-method: squash |