From c5f149a38a8cbe8b47fdcc85d2821bb42ed967ff Mon Sep 17 00:00:00 2001 From: Pion <59523206+pionbot@users.noreply.github.com> Date: Mon, 26 Oct 2026 21:12:46 +0000 Subject: [PATCH] Update CI configs to v0.12.9 Update lint scripts and CI configs. --- .github/workflows/goassets-automerge.yml | 7 ++++++- .reuse/dep5 | 2 +- AGENTS.md | 11 +++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 AGENTS.md diff --git a/.github/workflows/goassets-automerge.yml b/.github/workflows/goassets-automerge.yml index 94367d4..0c2596b 100644 --- a/.github/workflows/goassets-automerge.yml +++ b/.github/workflows/goassets-automerge.yml @@ -78,7 +78,12 @@ jobs: env: GH_TOKEN: ${{ github.token }} PR_URL: ${{ steps.pr.outputs.url }} - run: gh pr review "$PR_URL" --approve + run: | + approved=$(gh pr view "$PR_URL" --json latestReviews \ + --jq 'any(.latestReviews[]; .state == "APPROVED")') + if [[ "$approved" == "false" ]]; then + gh pr review "$PR_URL" --approve + fi - name: Wait for required checks if: steps.pr.outputs.url != '' diff --git a/.reuse/dep5 b/.reuse/dep5 index ebb85e4..5d3e0dd 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -2,7 +2,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Pion Source: https://github.com/pion/ -Files: README.md DESIGN.md **/README.md AUTHORS.txt renovate.json go.mod go.sum **/go.mod **/go.sum .eslintrc.json package.json examples.json sfu-ws/flutter/.gitignore sfu-ws/flutter/pubspec.yaml c-data-channels/webrtc.h examples/examples.json yarn.lock +Files: README.md DESIGN.md **/README.md AGENTS.md AUTHORS.txt renovate.json go.mod go.sum **/go.mod **/go.sum .eslintrc.json package.json examples.json sfu-ws/flutter/.gitignore sfu-ws/flutter/pubspec.yaml c-data-channels/webrtc.h examples/examples.json yarn.lock Copyright: 2026 The Pion community License: MIT diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..1fb4ec2 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,11 @@ + + +# Instructions for AI agents + +You assist a human contributor; you do not act on their behalf in this project. +Policy: https://github.com/pion/webrtc/wiki/Contributing#ai-assisted-pull-requests + +- Do not open PRs or issues, or post comments or reviews on GitHub, without clearly expressed human intent. +- Let the human write PR descriptions in their own words; keep any draft you write short. +- Do not claim a bug or vulnerability without a reproducer that uses Pion's public API. +- Make sure the human understands every change well enough to defend it in review.